Description Usage Arguments Details Value Examples
View source: R/sms_functions.R
This function tidies imported Groundwork data of onsite measurements by selecting only the relevant variables and renaming them to a standard convention.
1 | tidy_groundwork(groundwork_df)
|
groundwork_df |
The groundwork dataframe |
Variable naming convention: datetime, month, year, ghi1, ghi2, ghi3, ws, temp, ghi1_flag, ghi2_flag, ghi3_flag, ws_flag, temp_flag
A dataframe that includes all of the raw groundwork data and flags that can be used for filtering
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
## Get the files to import
sms_files <- paste0('data/Groundwork/', dir(path = "data/Groundwork/", pattern = "*.csv"))
## Import the files
groundwork_df <- import_groundwork_files(sms_files)
## Tidy the Dataframe
tidy_sms <- tidy_groundwork(groundwork_df)
## Flag the Dataframe
sms_flagged <- flag_sms(tidy_sms)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.