Skip to contents

Creates a single-row template tibble with default values for a new parameter.

Usage

create_new_parameter(param_type, entered_by)

Arguments

param_type

Character string specifying the parameter type. Must be a value from eDataDRF::parameter_types_vocabulary().

entered_by

Character string specifying who entered the parameter

Value

tibble with blank parameter template

Examples

create_new_parameter("Chemical", "Jane Smith")
#> # A tibble: 1 × 10
#>   PARAMETER_TYPE PARAMETER_TYPE_SUB MEASURED_TYPE PARAMETER_NAME
#>   <chr>          <chr>              <chr>         <chr>         
#> 1 Chemical       ""                 Concentration ""            
#> # ℹ 6 more variables: PARAMETER_NAME_SUB <chr>, INCHIKEY_SD <chr>,
#> #   PUBCHEM_CID <int>, CAS_RN <chr>, ENTERED_BY <chr>, PARAMETER_COMMENT <chr>