View source: R/data_cleaning.R
plr_variable_check | R Documentation |
The method determines the variable names used by the input dataframe. It looks for the following labels:
power_var <- iacp; if not, sets to idcp
time_var <- tmst; if not ,sets to tutc
irrad_var <- poay; if not, sets to ghir
temp_var <- temp; if not, sets to modt
wind_var <- wspa; if applicable, else NULL
This function assumes data is in a standard HBase format. If you are using other data
(as you most likely are) you should use the companion function, plr_build_var_list
.
plr_variable_check(df)
df |
A dataframe containing pv data. |
Returns a dataframe containing standard variable names (no data). It will not include windspeed if the variable was not already included. This is frequently an input of other functions.
var_list <- plr_variable_check(test_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.