metasyn.demo_file

metasyn.demo_file(name='titanic')

Get the path for a demo data file.

There are eight options:
  • titanic (Included in pandas, but post-processed to contain more columns)

  • spaceship (CC-BY from https://www.kaggle.com/competitions/spaceship-titanic)

  • synthea_imaging (CC-BY from https://synthea.mitre.org/downloads)

  • fruit (very basic example data from Polars)

  • survey (columns from ESS round 11 Human Values Scale questionnaire for the Netherlands)

  • test (columns with all supported data types)

  • hospital (Example electronic health record hospital dataset)

  • druguse (Example dataset with answers to an open question on study participants’ daily drug use)

Parameters:

name (str) – Name of the demo dataset.

Return type:

Path

Returns:

Path to the dataset.

References

European Social Survey European Research Infrastructure (ESS ERIC). (2024). ESS11 integrated file, edition 1.0 [Data set]. Sikt - Norwegian Agency for Shared Services in Education and Research. https://doi.org/10.21338/ess11e01_0