ec_climate_long: Transform EC Climate Data to Parameter-Long Form

Description Usage Arguments Value Examples

View source: R/climate_data.R

Description

Transform EC Climate Data to Parameter-Long Form

Usage

1
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

1
2
3
4
5
6
7
# 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()

paleolimbot/rclimateca documentation built on Sept. 11, 2019, 9:29 a.m.