[ECODP-dev] Temporal Granularity field

John Glover john.glover at okfn.org
Wed Jul 3 10:48:01 UTC 2013


Hi Bert,

Sorry, I got mixed up between fields. Temporal granularity is a controlled
vocabulary, originally defined here [1]. So you should be able to specify
'day' (lower case).

[1]
https://github.com/okfn/ckanext-ecportal/blob/master/data/odp-temporal-granularity.json

Regards,
John


On 3 July 2013 12:43, Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>wrote:

> Hi John,
>
> I created an example: https://odp.tenforce.com/en/data/dataset/test
>
> on the additional information you find the field "temporal
> granularity" which has the value "day".
>
> so according to you I have to set in the json the field as
>
> {"id": "...", ...., "temporal_granularity" : "2013-07-01", ... }
>
> to get the value "day" being displayed?
>
> Bert
>
>
> 2013/7/3 John Glover <john.glover at okfn.org>:
> > Hi Bert,
> >
> > All of the date fields that you can specify should be strings in the
> format
> > YYYY-MM-DD, YYYY-MM or YYYY.
> >
> > Regards,
> > John
> >
> >
> > On 3 July 2013 12:29, Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>
> > wrote:
> >>
> >> Hi John,
> >>
> >> the "Temporal Granularity" has according the UI interface 3 values
> >> "day", "month", "year".
> >> How do I specify it in an api call?
> >>
> >> Bert
> >>
> >> --
> >> Bert Van Nuffelen
> >>
> >> Semantic Technologies Software Architect at TenForce
> >> www.tenforce.be
> >>
> >> Bert.Van.Nuffelen at tenforce.com
> >> Office: +32 (0)16 31 48 60
> >> Mobile:+32 479 06 24 26
> >> skype: bert.van.nuffelen
> >>
> >> _______________________________________________
> >> Ecodp-dev mailing list
> >> Ecodp-dev at lists.okfn.org
> >> http://lists.okfn.org/mailman/listinfo/ecodp-dev
> >
> >
> >
> > _______________________________________________
> > Ecodp-dev mailing list
> > Ecodp-dev at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ecodp-dev
> >
>
>
>
> --
> Bert Van Nuffelen
>
> Semantic Technologies Software Architect at TenForce
> www.tenforce.be
>
> Bert.Van.Nuffelen at tenforce.com
> Office: +32 (0)16 31 48 60
> Mobile:+32 479 06 24 26
> skype: bert.van.nuffelen
>
> _______________________________________________
> Ecodp-dev mailing list
> Ecodp-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130703/1b03a234/attachment.html>


More information about the ecodp-dev mailing list