period_coverage {GHCNr} | R Documentation |
Calculate Period Coverage
Description
period_coverage()
calculates how many days have been recorded for
the whole time period.
Usage
period_coverage(x)
Arguments
x |
Object of class |
Details
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.
Period coverage is a constant value for each station in the ghcn_daily
object.
Value
A table with period coverage.
Examples
cleaned <- remove_flagged(CA003076680)
cover <- period_coverage(cleaned)
cover
[Package GHCNr version 1.4.5 Index]