Description Usage Arguments Examples
View source: R/check_quality.R
This function allows you to clean temperature timeseries in a data.frame
1 2 3 4 5 6 7 | check_quality(
df,
max.col = "T_max",
min.col = "T_min",
return = "clean",
verbose = F
)
|
df |
data.frame, A data.frame with a column in the Date format, and two columns for daily minimum and maximum temperature respectively |
max.col |
string, name of the column with daily maximum temperature |
min.col |
string, name of the column with daily minimum temperature |
return |
string, one of 'clean' or 'raw'. 'Raw' will give the dataframe that is used to check for errors while 'clean' will give the dataframe with wrong values removed and a complete timeseries between minimum and maximum date. |
verbose |
logical, if true the amount of rows that are dropped for a dataframe are printed out |
1 | check_quality(df = df.daily)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.