isaricanalytics.isaric_data_schema¶
- isaricanalytics.isaric_data_schema.transform_to_isaric_data_schema(parser_file: str | Path, data_file: str | Path) dict[str, DataFrame][source]¶
dict: A dict of ISARIC schema-compliant short- (core) and long-format datasets as Pandas dataframes.- Parameters:
- parser_filestr or pathlib.Path
The parser TOML file path.
- data_filestr or pathlib.Path
The data file path.
- Returns:
- dict
A dict of two Pandas dataframes representing short- and long-format ISARIC schema-compliant transforms of the original dataset.