read_rsk | R Documentation |
Read MNRISKS modeled .Rsk result file
read_rsk(
file,
scenarios = NULL,
year = 2017,
filter_word = NULL,
aggregate_facs = FALSE
)
file |
Path to .Rsk file or .zip file |
scenarios |
Column names to assign to result columns. Default will assign generic numbers (e.g. "scenario_1") |
year |
The MNRISKS results year. Default value is 2017. |
filter_word |
Will only keep results with the entered text, such as "Benzene" or "A_Boilers". The default = NULL will keep all results. |
aggregate_facs |
TRUE/FALSE. Will group_by pollutant and SCC to sum risks/concentrations. Default = FALSE |
## Not run:
# Read in a single .rsk file
acrolein <- read_rsk("acrolein_results.rsk", year = 2017)
# Read in a single Zipped .rsk file
boilers <- read_rsk("area_results.zip", year = 2017, filter_word = "Boilers")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.