Description Usage Arguments Details Value Examples
View source: R/sms_functions.R
Import Groundwork QC Data CSVs into a single dataframe with clean variable names
1 | read_groundwork(sms_files)
|
sms_files |
A list of Groundwork CSVs to import |
Variable naming convention: datetime, month, year, ghi1, ghi2, ghi3, ws, temp, ghi1_flag, ghi2_flag, ghi3_flag, ws_flag, temp_flag
A dataframe containing all of the raw onsite data and flags that can be used to apply filters
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
## Read in a list of files
sms_flagged <- read_groundwork(c('SiteDecember2019QCData.csv', 'SiteJanuary2020QCData.csv'))
head(sms_flagged)
## Read in a single file
sms_flagged <- read_groundwork('Site2019QCData.csv')
## Read in all files in a folder that end in csv
sms_files <- paste0('data/Groundwork/', dir(path = "data/Groundwork/", pattern = "*.csv"))
sms_flagged <- read_groundwork(sms_files)
summary(sms_flagged)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.