View source: R/helpers_ghcnd.R
meteo_tidy_ghcnd_element | R Documentation |
This function restructures the output of ghcnd_search()
to add a column giving the variable name (key
) and change the
name of the variable column to value
. These changes facilitate
combining all elements from the list created by ghcnd_search()
,
to create a tidy dataframe of the weather observations from the station.
meteo_tidy_ghcnd_element(x, keep_flags = FALSE)
x |
A dataframe with daily observations for a single monitor for a
single weather variable. This dataframe is one of the elements returned
by |
keep_flags |
TRUE / FALSE for whether the user would like to keep all the flags for each weather variable. The default is to not keep the flags (FALSE). See the note below for more information on these flags. |
A dataframe reformatted to allow easy aggregation of all weather variables for a single monitor.
Brooke Anderson brooke.anderson@colostate.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.