View source: R/download_data.R
get_parameters | R Documentation |
Download time series of sea-state parameters from RESOURCECODE database
get_parameters(
parameters = "hs",
node = 42,
start = as.POSIXct("1994-01-01 00:00:00", tz = "UTC"),
end = as.POSIXct("1994-12-31 23:00:00", tz = "UTC")
)
parameters |
character vector of sea-state parameters |
node |
single integer with the node to get |
start |
starting date (as integer, character or posixct) |
end |
ending date (as integer, character or posixct) |
a tibble with N-rows and length(parameters)
columns.
ts <- get_parameters(parameters = c("hs", "tp"), node = 42)
plot(ts$time,ts$hs,type='l')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.