View source: R/climatic_missing.R
climatic_missing | R Documentation |
climatic_missing
returns a data table displaying the number and
percentage of missing values for an element (and station) in a given time period.
The total number of full years are also given.
climatic_missing(
data,
date_time,
elements,
station_id = NULL,
start = TRUE,
end = FALSE
)
data |
The data.frame to calculate from. |
date_time |
The name of the date column in |
elements |
The name of the column in |
station_id |
The name of the station column in |
start |
|
end |
|
Data frame summarising the missing data
# Summarising missing data in the rainfall, temperature, and sun columns
climatic_missing(data = daily_niger, date_time = "date",
elements = c("rain", "tmax", "tmin", "sunh"),
station_id = "station_name")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.