check_quality_sigma: Quality check of temperature values from meteorological...

Description Usage Arguments Examples

View source: R/check_quality.R

Description

This function allows you to clean temperature timeseries in a data.frame

Usage

1
2
3
4
5
6
7
8
9
check_quality_sigma(
  df,
  value.cols,
  f = 4,
  f.pers = 100,
  roll.window = 5,
  return = "clean",
  timestep = NULL
)

Arguments

df

data.frame, A data.frame with a column in the Date format, and two columns for daily minimum and maximum temperature respectively

value.cols

string, name of the column that should be checked for unrealistic values

f

numeric, with of the standard deviation window that is used to discard values

f.pers

numeric, work in progress

roll.window

numeric, width of the window to calculate rolling standard deviation

return

string, one of 'raw' or 'clean', determines the type of output of the function

timestep

integer, number of seconds between to observations

Examples

1
check_quality_paper(df = df.daily)

sitscholl/rebecka_package documentation built on Aug. 25, 2020, 4:20 a.m.