openair_to_rolf | R Documentation |
Converts data from openair format to rolf
openair_to_rolf(
data,
site = NULL,
interval = NULL,
units = NULL,
ws = "WVv",
wd = "WD"
)
data |
in openair format |
site |
specify site of the data. Necessary if data contains no column "site" |
interval |
specify interval of the data. Necessary if data contains no column "interval" |
units |
specify parameter unit mapping as named vector. Name = parameter, value = unit. Necessary if data contains no column "unit" |
ws |
renames parameter "ws" to this Value. Default "WVv". Set ws = NULL to disable renaming |
wd |
renames parameter "wd" to this Value. Default "WD". Set wd = NULL to disable renaming |
Converted data in rolf format
h1 <- system.file("extdata", "Zch_Stampfenbachstrasse_h1_2013_Jan.csv",
package = "rOstluft.data", mustWork = TRUE)
airmo_h1 <- read_airmo_csv(h1)
airmo_h1
oa_h1 <- rolf_to_openair(airmo_h1)
units_h1 <- attr(oa_h1, "units")
# we lost the parameter with ppb/ppm units trough the convertions
openair_to_rolf(oa_h1, interval = "h1", units = units_h1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.