View source: R/data_cleaning.R
plr_build_var_list | R Documentation |
The default var_list generator, plr_variable_check, assumes data comes from SDLE's sources. If you are using this package with your own data, the format may not line up appropriately. Use this function to create a variable list to be passed to other functions so they can keep track of what column names mean.
plr_build_var_list(time_var, power_var, irrad_var, temp_var, wind_var)
time_var |
The variable representing time. Typically, a timestamp. |
power_var |
The variable representing time. Typically, in watts. |
irrad_var |
The variable representing irradiance. Typically, either poa or ghi irradiance. |
temp_var |
The variable representing temperature. Package functions assume Celcius. |
wind_var |
optional; The variable representing wind speed. |
Returns dataframe of variable names for the given photovoltaic data for use with later functions
var_list <- plr_build_var_list(time_var = "timestamp", power_var = "power", irrad_var = "g_poa", temp_var = "mod_temp", wind_var = NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.