Declare that a dataset also publishes measurement types another dataset defined
Source:R/registry.R
add_measurement_source_dataset.RdThe registry-file counterpart of merge_source_datasets(): reads
measurement_type.csv, adds dataset_key to _source_datasets on the named
types (keeping every dataset already listed) and writes with na = "".
Nothing else on the row changes — the description, units, derivation and
bounds stay the defining ingest's. Like declare_measurement_bounds() it
refuses an unknown measurement_type (register a new type with
register_measurement_types() first) and writes nothing when every type
already lists the dataset.
Examples
if (FALSE) { # \dontrun{
add_measurement_source_dataset("spiciness0", "calcofi_bottle-derived",
here::here("metadata/measurement_type.csv"))
} # }