get_vpts | R Documentation |
Gets vertical profile time series data from supported sources and returns it
as a (list of) of vpts objects or a
dplyr::tibble()
.
get_vpts(
radar,
datetime,
source = c("baltrad", "uva", "ecog-04003", "rmi"),
return_type = c("vpts", "tibble")
)
radar |
Name of the radar (odim code) as a character string (e.g.
|
datetime |
Either:
|
source |
Source of the data. One of |
return_type |
Type of object that should be returned. Either:
|
For more details on supported sources, see vignette("supported_sources")
.
Either a vpts object, a list of vpts objects or a tibble. See bioRad::summary.vpts for details.
# Get VPTS data for a single radar and date
get_vpts(radar = "bejab", datetime = "2023-01-01", source = "baltrad")
get_vpts(radar = "bejab", datetime = "2020-01-19", source = "rmi")
# Get VPTS data for multiple radars and a single date
get_vpts(
radar = c("dehnr", "deflg"),
datetime = lubridate::ymd("20171015"),
source = "baltrad"
)
# Get VPTS data for a single radar and a date range
get_vpts(
radar = "bejab",
datetime = lubridate::interval(
lubridate::ymd_hms("2023-01-01 00:00:00"),
lubridate::ymd_hms("2023-01-02 00:14:00")
),
source = "baltrad"
)
get_vpts("bejab", lubridate::interval("20210101", "20210301"))
# Get VPTS data for a single radar, date range and non-default source
get_vpts(radar = "bejab", datetime = "2016-09-29", source = "ecog-04003")
# Return a tibble instead of a vpts object
get_vpts(
radar = "chlem",
datetime = "2023-03-10",
source = "baltrad",
return_type = "tibble"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.