Get lastUpdated date of a dataset

6 views
Skip to first unread message

Davide Marcon

unread,
Aug 20, 2024, 2:56:26 PM8/20/24
to Statistical data and metadata exchange with SDMX and Python
Good morning,
via Python and with the pandasdmx library I am trying to access the metadata of the dataset https://esploradati.istat.it/databrowser/#/it/dw/categories/IT1,Z0920ENV,1.0/ENV_WATER/DCCV_CONSACQUA/IT1,12_60_DF_DCCV_CONSACQUA_1,1.0

Specifically, the date of the last survey does not seem to be present in the metadata. For app development I would need to know if I need to download the updated dataset before downloading it entirely. In fact, I would only download it if it contains new data.

Specifically this is what I find

{'header': <Header>
  id: 'IDREF211'
  prepared: '2024-08-20T19:40:02.543637+02:00'
  receiver: <Agency Unknown>
  sender: <Agency Unknown>
  source:
  test: False, 'footer': None, 'response': <Response [200]>, 'sdmx_schema_location': None, 'categorisation': {'12_60@IT1@12@ISTAT_DW@10@12': <Categorisation IT1:12_60@IT1@12@ISTAT_DW@10@12(1.0): 12_60@IT1@12@ISTAT_DW@10@12>}, 'category_scheme': {'ISTAT_DW': <CategoryScheme IT1:ISTAT_DW(1.0) (116 items): I.STAT>}, 'codelist': {'CL_BASE_YEAR': <Codelist IT1:CL_BASE_YEAR(1.3) (29 items): Base year>, 'CL_FLAG': <Codelist IT1:CL_FLAG(1.6) (18 items): Flag>, 'CL_FREQ': <Codelist IT1:CL_FREQ(1.0) (8 items): Frequency>, 'CL_ITTER107': <Codelist IT1:CL_ITTER107(5.6) (11474 items): Territory>, 'CL_OBS_CONF': <Codelist IT1:CL_OBS_CONF(1.0) (6 items): Observation confidenziality>, 'CL_TIPO_DATO4': <Codelist IT1:CL_TIPO_DATO4(2.2) (174 items): Data type 4>, 'CL_UNIT_MEASURE': <Codelist IT1:CL_UNIT_MEASURE(1.6) (49 items): Measure unit>, 'CL_UNIT_MULT': <Codelist IT1:CL_UNIT_MULT(1.0) (7 items): Unit multiplier>}, 'concept_scheme': {'CROSS_DOMAIN': <ConceptScheme IT1:CROSS_DOMAIN(5.4) (91 items): Cross domain concepts>, 'VARIAB_ALL': <ConceptScheme IT1:VARIAB_ALL(22.7) (819 items): All Variables - All Concepts>}, 'constraint': {}, 'dataflow': {'12_60': <DataflowDefinition IT1:12_60(1.2): Public water supply use>}, 'structure': {'DCCV_CONSACQUA': <DataStructureDefinition IT1:DCCV_CONSACQUA(1.4): Public water supply use>}, 'organisation_scheme': {}, 'provisionagreement': {}}


Does anyone have more information about this?

Many thanks
Reply all
Reply to author
Forward
0 new messages