clean_theta_data: Automated Cleaning of ThetaProbe Data

Description Usage Arguments Details Examples

View source: R/clean_theta_data.R

Description

This function checks for and removes outliers in the University of Southern Queensland National Centre for Engineering in Agriculture's (NCEA) Theta Probe data of soil moisture for the USQ CCH Summer Crops Pathology group, saving the results as a CSV file with daily values.

Usage

1

Arguments

csv_in

A CSV file generated by get_soil_moisture, which will be cleaned of outliers and aggregated to daily values

Details

This function will check the input file for outliers in five minute data, filter them and generate a new file with daily moisture values that will be written to disk in the user's specified location.

Examples

1
2
3
4
5
6
## Not run: 
cleaned <- clean_theta_data(csv_in = "~/Soil_Moisture.csv")

write.csv(cleaned, "~/Documents/cleaned_data.csv")

## End(Not run)

adamhsparks/ThetaProbe documentation built on Sept. 19, 2019, 3:20 a.m.