dispel.providers.digital_artefacts.io package#

Functionality to read digital artefacts (DA) data.

DA data usually come into export files containing multiple patient. In order to adapt the data to DISPEL, a preprocessing step has to be applied to the DA export to explode the data into individual records per patient and per assessement. Once it’s done you can use the following example to get a DISPEL representation of the DA data.

Examples

To read a DA json file and work with the contained data one can read the file:

da

>>> from dispel.providers.digital_artefacts.io import read_da
>>> reading = read_da(path)
dispel.providers.digital_artefacts.io.read_da(path)[source]#

Read a Digital Artefact data record.

Parameters:

path (str) – The path to the digital artefact record to be parsed

Returns:

The class representation of the record once parsed.

Return type:

Reading

Submodules#