Skip to contents

Load, convert and process the level 5 PRISM data into a gDR input

Usage

convert_LEVEL5_prism_to_gDR_input(prism_data_path, readout_min = 1.03)

Arguments

prism_data_path

path to PRISM LEVEL5 csv file with data

readout_min

minimum ReadoutValue

Value

data.table object with input data for gDR pipeline

Examples

 prism_data <- system.file("testdata/prism_sa.csv", package = "gDRimport")
 convert_LEVEL5_prism_to_gDR_input(prism_data)
#>         clid Duration ReadoutValue BackgroundValue      Gnumber Concentration
#>       <char>    <num>        <num>           <num>       <char>         <num>
#> 1: some_clid      120         1.03               0 some_gnumber      0.003201
#> 2: some_clid      120         1.00               0      vehicle      0.000000
#>    masked
#>    <lgcl>
#> 1:  FALSE
#> 2:  FALSE