Two vocabularies, one answer. A CalCOFI .csv maps through
measurement_type.csv's _source_column, which already holds exactly those
names; a Sea-Bird file maps through metadata/sbe_name_map.csv.
Usage
ctd_map_columns(
cols,
d_meas_type,
d_sbe_map = NULL,
format = c("csv", "cnv", "asc", "btl")
)Arguments
- cols
column names of the uploaded data
- d_meas_type
the measurement registry (
read_measurement_type())- d_sbe_map
the Sea-Bird crosswalk (
metadata/sbe_name_map.csv)- format
one of
"csv","cnv","asc","btl"