tidy_cpr: Tidy CPR Data Frame

Description Usage Arguments Details Value Examples

View source: R/satellite_functions.R

Description

Converts an imported CPR data frame to one that is in the Megaframe format

Usage

1
tidy_cpr(cpr_df)

Arguments

cpr_df

A dataframe from importing a CPR timeseries

Details

Megaframe format variables: datetime, year, month, ghi, dni, dhi, temp, ws, model

Value

A dataframe in the Megaframe format

Examples

1
2
3
4
5
6
## Not run: 
cpr_df <- read_csv('cpr_file.csv', skip = 1)
cpr <- tidy_cpr(cpr_df)
summary(cpr)

## End(Not run)

btaute/powerResource documentation built on Sept. 4, 2020, 4:36 p.m.