openstate / open-cultuur-data

The back- and front-end code that powers the Open Cultuur Data API
http://opencultuurdata.nl/
28 stars 18 forks source link

please document date_granularity #17

Closed coret closed 10 years ago

coret commented 10 years ago

What are valid values and their meaning?

breyten commented 10 years ago

It stems from the ddmmyyyy format (Or more precisely in this case yyyymmdd), so a grnularity of 8 means that it includes year, month and day, while 6 includes month and year and 4 only includes year. If i'm not mistaken :)

coret commented 10 years ago

Has been documented, see https://github.com/openstate/open-cultuur-data/commit/deba98a50dfe272ebc9dc79d3fd92e938ab8fff9