EHRData#

Core Data Structure#

EHRData

Model two and three dimensional electronic health record data.

Data Type Management#

infer_feature_types

Infer feature types of an EHRData object.

feature_type_overview

Print an overview of the feature types and encoding modes in the EHRData object.

replace_feature_types

Correct the feature types for a list of features inplace.

harmonize_missing_values

Harmonize missing values in the EHRData object.

move_to_obs

Move variables from .X/.layers to .obs.

move_to_x

Move variables from .obs to .X/.layers.