Learn R Programming

rclimateca (version 1.0.3)

ec_climate_long: Transform EC Climate Data to Parameter-Long Form

Description

Transform EC Climate Data to Parameter-Long Form

Usage

ec_climate_long(climate_df, na.rm = FALSE)

Arguments

climate_df

The outuput of ec_climate_data

na.rm

TRUE to remove measurements for which there is no information

Value

A data.frame (tibble) with one row per measurement

Examples

Run this code
# NOT RUN {
# station 27141 is Kentville CDA CS
monthly <- ec_climate_data(27141, timeframe = "monthly")
ec_climate_long(monthly)

# or use the pipe
ec_climate_data(27141, timeframe = "monthly") %>%
  ec_climate_long()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab