monthly_coverage | R Documentation |
monthly_coverage()
calculates how many days have been recorded for
each month in the time period.
monthly_coverage(x)
x |
Object of class |
To calculate the coverage, a full daily time range is full joined to the timeseries. Missing days are set to NA. Coverage is then calculated as the number of values that are not NAs over the number of NAs.
A table with mothly coverage.
cleaned <- remove_flagged(CA003076680)
cover <- monthly_coverage(cleaned)
cover[cover$year == 2020, ]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.