Description Usage Arguments Details Value Examples
Call this function after pulling down observations for a set of stations
to retrieve the "coverage" (i.e. how complete each field is). If either
or both obs_start_date
or obs_end_date
are specified,
the coverage test will be limited to that date range.
1 2 | meteo_coverage(meteo_df, obs_start_date = NULL, obs_end_date = NULL,
verbose = FALSE)
|
meteo_df |
a meteo |
obs_start_date |
specify either or both (obs_start_date, obs_end_date) to constrain
coverate tests. These should be |
obs_end_date |
specify either or both (obs_start_date, obs_end_date) to constrain
coverate tests. These should be |
verbose |
if |
There is an autoplot
method for the output of this function.
a data.frame
with the coverage for each station, minimally
containing:
1 2 3 4 |
with additional fields (and their coverage percent) depending on which weather variables were queried and available for the weather station.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
monitors <- c("ASN00095063", "ASN00024025", "ASN00040112", "ASN00041023",
"ASN00009998", "ASN00066078", "ASN00003069", "ASN00090162",
"ASN00040126", "ASN00058161")
obs <- meteo_pull_monitors(monitors)
obs_covr <- meteo_coverage(obs)
library("ggplot2")
autoplot(obs_covr)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.