View source: R/prepare_cdt_daily.R
prepare_cdt_daily | R Documentation |
prepare_cdt_daily
takes daily data. This data is then
rearranged to a format suitable for use in CDT. This data frame can be
rearranged and exported to a file or connection with export_cdt_daily
.
prepare_cdt_daily(
data,
station,
element,
date_time,
metadata = NULL,
latitude,
longitude,
altitude
)
data |
|
station |
|
element |
|
date_time |
|
metadata |
|
latitude |
|
longitude |
|
altitude |
|
A data.frame formatted for use in CDT
# Prepare daily_niger data for CDT export
prepare_cdt_daily(data = daily_niger, date_time = "date", station = "station_name",
element = "tmax", metadata = stations_niger,
latitude = "lat", longitude = "long", altitude = "alt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.