ISTAT - Italian National Institute of Statistics
- As a system
- I want to acquire data from ISTAT
- in order to diffuse them on DBnomics
Acceptance criteria
- MUST obtain data from ISTAT by SDMX (https://www.istat.it/it/metodi-e-strumenti/web-service)
- MUST convert them to DBnomics
Resources
Fetcher description: https://git.nomics.world/dbnomics-fetchers/management/wikis/Fetcher-Description/ISTAT
Technical steps
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Michel Juillard added Fetcher label
added Fetcher label
- Michel Juillard changed the description
changed the description
- Michel Juillard changed milestone to %Fetchers Batch #2
changed milestone to %Fetchers Batch #2
- Michel Juillard changed the description
changed the description
- Michel Juillard changed the description
changed the description
- Christophe Benz added Doing label
added Doing label
- Christophe Benz assigned to @cbenz
assigned to @cbenz
- Owner
Looking at amattioc/SDMX implementation of istat I see a REST API. That's way easier than doing SOAP.
Collapse replies - Author Maintainer
@cbenz Is there a method to obtain the dataset list? That would be the first step.
- Owner
To: GitLab noreply@git.nomics.world
Yes, I used these URLs in
download.py
:INFO:__main__:2018-03-09 17:18:48,844:Fetching dataflow http://sdmx.istat.it/SDMXWS/rest/dataflow/ INFO:__main__:2018-03-09 17:18:49,770:Fetching datastructure http://sdmx.istat.it/SDMXWS/rest/datastructure/ INFO:__main__:2018-03-09 17:18:57,500:Fetching conceptscheme http://sdmx.istat.it/SDMXWS/rest/conceptscheme/ INFO:__main__:2018-03-09 17:19:04,759:Fetching categoryscheme http://sdmx.istat.it/SDMXWS/rest/categoryscheme/ INFO:__main__:2018-03-09 17:19:12,145:Fetching categorisation http://sdmx.istat.it/SDMXWS/rest/categorisation/ INFO:__main__:2018-03-09 17:19:14,727:Fetching codelist CL_ABITAZ_PROBL http://sdmx.istat.it/SDMXWS/rest/codelist/all/CL_ABITAZ_PROBL/ INFO:__main__:2018-03-09 17:19:15,283:Fetching codelist CL_ABITAZ_TITGOD http://sdmx.istat.it/SDMXWS/rest/codelist/all/CL_ABITAZ_TITGOD/ INFO:__main__:2018-03-09 17:19:20,857:Fetching codelist CL_ACCESSOMUSEO http://sdmx.istat.it/SDMXWS/rest/codelist/all/CL_ACCESSOMUSEO/
etc.
Edited by Christophe Benz - Please register or sign in to reply
- Christophe Benz added ~141 and removed Doing labels
added ~141 and removed Doing labels
- Johan Richer changed title from ISTAT (Italy) fetcher to ISTAT - Italian National Institute of Statistics
changed title from ISTAT (Italy) fetcher to ISTAT - Italian National Institute of Statistics
- Christophe Benz added Doing and removed ~141 labels
added Doing and removed ~141 labels
- Johan Richer changed milestone to %Fetchers Batch #3
changed milestone to %Fetchers Batch #3
- Christophe Benz added 1 deleted label and removed Doing label
added 1 deleted label and removed Doing label
- Christophe Benz added Doing label and removed 1 deleted label
added Doing label and removed 1 deleted label
- Christophe Benz changed the description
changed the description
- Owner
For the record I have achieved to download data by skipping the datasets that are too long to respond. I am testing the conversion.
- Owner
Deployed in pre-production: http://pre.db.nomics.world/ISTAT/174_321
It's good to see ISTAT included as a provider, but there's something odd about their time series: they're not in time-order. For example, take the retail sales series ISTAT/120_337/M.RTD_TURN3.1.TOTAL.N.1.IT. The monthly "period" array in the JSON starts like this:
"period" : [ "2005-01", "2005-10", "2005-11", "2005-12", "2005-02", "2005-03", "2005-04", "2005-05", "2005-06", "2005-07", "2005-08", "2005-09",
And other years are the same: January, October, ...! This places a rather awkward burden on clients (to get the data into the right order), which we haven't seen for any other providers.
Collapse replies - Owner
Source data contains time series not sorted by period (cf this example)
This has been fixed by istat-fetcher@fed001d8 and a new conversion is ongoing.
1