Skip to content

HDF5 components

Sonia Mitchell edited this page Aug 24, 2020 · 2 revisions

You should create a single HDF5 file for a single dataset.

Multiple components

If your dataset contains multiple data topics / data items, for example the cases_and_management dataset contains information about nursing homes, testing, nhs24 calls, etc., then these can be included as separate components within a single HDF5 file. In the example linked above, components include:

  • call_centre/date-number_of_calls
  • confirmed_suspected_total/date-country-hospital
  • date-country-carehomes-carehomes_submitted_return

and so on.

Note the naming convention! call_centre/date corresponds to the first and second dimensions of the data (rows and columns), and everything after the dash applies to all elements.

Single component

If your dataset contains a single component, for create_table() call it "table" and for create_array() call it "array".

Clone this wiki locally