[ECODP-dev] RDF2CKAN Posting a dataset

John Glover john.glover at okfn.org
Wed May 22 09:27:40 UTC 2013


Hi,

And you have less than 50 datasets?

Thanks,
John


On 22 May 2013 11:26, Dimitrios Mexis <dimitrios.mexis at tenforce.com> wrote:

> Hi John,
> I just want to confirm the situatioin that is not showing the updated
> package. Off course it does not relate with the purge problem, as we
> discussed for this. Just for clarifciation I wanted to mention it here.
>
> Best
> Dimitrios
>
>
> On Wed, May 22, 2013 at 10:49 AM, John Glover <john.glover at okfn.org>wrote:
>
>> Hi Dimitrios,
>>
>> Yes, if you get back success=true then your request has succeeded. The
>> result is the JSON of the newly created dataset. I'm not sure why it is not
>> showing up on your user profile, are you sure you are signed in as the
>> correct user (for that API key)? The number of datasets shown here is also
>> currently limited (to 50 I think) to avoid potentially expensive queries.
>>
>> John
>>
>>
>> On 15 May 2013 18:40, Dimitrios Mexis <dimitrios.mexis at tenforce.com>wrote:
>>
>>> Hi John,
>>>
>>> I do a post of some data through rdf2ckan,for a package called
>>> "SANCO.zip" and I get the next result back.
>>> The question is, did really succeed the query ?
>>> [ Because, it includes all the values that I fed the system, a warning
>>> that I get and finally the success=true ]
>>>
>>> BUT, if I go to the /user/login of ckan, I donot see as last updated the
>>> package of SANCO.
>>> I am confused.
>>>
>>> Can you give me more details? ( kind regards Dimitrios)
>>>
>>> *{result={license_title=Europa Legal Notice, geographical_coverage=[],
>>> keywords=[{vocabulary_id=null, display_name=advanced materials,
>>> name=advanced materials, revision_timestamp=2013-02-01T12:20:11.336396,
>>> state=active, id=fadbc337-edcf-4288-b5d4-f77ce49284b3}],
>>> contact_name="SANCO", id=2b42c850-2cfe-42a2-97c1-bf67fe23483a,
>>> capacity=public, metadata_modified=2013-05-15T16:23:15.869081,
>>> temporal_granularity=[], contact_telephone="tel:+32 2 299 11 11",
>>> type_of_dataset=[
>>> http://ec.europa.eu/open-data/kos/dataset-type/InformationExchangePackageDescription],
>>> state=active, version=v1.0a, license_id=
>>> http://ec.europa.eu/open-data/kos/licence/EuropeanCommission, status=[
>>> http://ec.europa.eu/open-data/kos/dataset-status/Completed],
>>> description=Plastic materials and articles coming into contact with
>>> foodstuffs may transfer toxic substances which present a risk to human
>>> health. All such substances are controlled at Community level by means of
>>> maximum limits on their migration to food, and are subject to very specific
>>> conditions of use and, in the general interest of food safety.  Data is
>>> collected for risk assessment, risk management and includes requests for
>>> authorisation, modification or recycling of substances and the subsequent
>>> publication of lists of authorised substances and conditions of use.,
>>> published_by=sanco, contact_email="mailto:SANCO-INFO at ec.europa.eu",
>>> groups=[{title=Directorate-General for Health and Consumers,
>>> capacity=public, id=0cde1df4-be66-4a45-83ff-b7f23c6c3706, name=sanco}],
>>> interoperability_level=[
>>> http://ec.europa.eu/open-data/kos/interoperability-level/Semantic],
>>> name=WyiRNr2TYGsWp6xkq9A, language=[], url=
>>> http://ec.europa.eu/dgs/health_consumer/datasets/food/fcm, title=Food
>>> Contact Materials, license_url=
>>> http://ec.europa.eu/geninfo/legal_notices_en.htm,
>>> identifier="food-fcm"}, help=Update a dataset (package).*
>>> *
>>> *
>>> *    You must be authorized to edit the dataset and the groups that it
>>> belongs*
>>> *    to.*
>>> *
>>> *
>>> *    Plugins may change the parameters of this function depending on
>>> the value*
>>> *    of the dataset's ``type`` attribute, see the ``IDatasetForm``
>>> plugin*
>>> *    interface.*
>>> *
>>> *
>>> *    For further parameters see ``package_create()``.*
>>> *
>>> *
>>> *    :param id: the name or id of the dataset to update*
>>> *    :type id: string*
>>> *
>>> *
>>> *    :returns: the updated dataset (if 'return_package_dict' is True in
>>> the*
>>> *              context, which is the default. Otherwise returns just the
>>> *
>>> *              dataset id)*
>>> *    :rtype: dictionary*
>>> *
>>> *
>>> *    , success=true}*
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130522/e71246c5/attachment.html>


More information about the ecodp-dev mailing list