Detects the delimiter and the encoding (German exports are often latin1), trims whitespace, tolerates umlaut spelling variants, converts decimal commas, and PASSES THROUGH any value not in the dictionary while reporting it – silently mangling an unmapped clinical value would be worse than leaving it in German for the user to map.
Usage
load_patient_table(
path,
column_map = default_column_map(),
value_map = default_value_map(),
reference_date = Sys.Date()
)Arguments
- path
File path.
- column_map
The column map. Default
default_column_map().- value_map
The value map. Default
default_value_map().- reference_date
The reference date. Default
Sys.Date().
