Description Usage Arguments Details Value Examples
View source: R/satellite_functions.R
Compiles tidy sms, cpr, and vaisala data frames into one MEGAFRAME!
1 | compile_megaframe(sms, cpr_list, vaisala_list)
|
sms |
Groundwork data that has been filtered, sensors have been averaged, and minute data has been averaged to hourly |
cpr_list |
Tidy CPR data |
vaisala_list |
Tidy Vaisala data |
Megaframe format includes hourly variables: datetime, year, month, ghi, dni, dhi, temp, ws, model
A single dataframe that includes all of the sms, cpr, and vaisala timeseries data in a tidy format
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
## Prepare the inputs
sms_flagged <- read_groundwork('groundwork.csv')
sms <- prepare_sms_flagged_for_megaframe(sms_flagged)
cpr_list <- read_cpr(c('path/to/cpr33.csv', 'path/to/cpr34.csv'))
vaisala_list <- read_vaisala('path/to/vaisala213.csv')
## Create the Megaframe!
mf <- compile_megaframe(sms, cpr_list, vaisala_list)
head(mf)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.