leppott / ContDataQC

Quality control checks on continuous data. Example data is from a HOBO data logger with 30 minute intervals.
https://leppott.github.io/ContDataQC/
MIT License
20 stars 10 forks source link

Bug - fails on ill formed dates #26

Closed leppott closed 7 years ago

leppott commented 7 years ago

Using "Dunfield" dataset the QC step fails to process (NA for time interval) and Reports show time interval as zero.

Using v2.0.1.9013.

leppott commented 7 years ago

Calculation checks all time differences and takes the median. Added "na.rm=TRUE" to median statement.

Also re-introduced strptime to ensure that datetime is in the expected format. Had removed strptime() in an earlier update when checking for median time difference.

leppott commented 7 years ago

Calculation checks all time differences and takes the median. Added "na.rm=TRUE" to median statement.

Also re-introduced strptime to ensure that datetime is in the expected format. Had removed strptime() in an earlier update when checking for median time difference.

leppott commented 7 years ago

Changed in QCStats() in fun.QC.R and in the reports (Report_Aggregate.rmd, Report_QC.rmd, and Report_Stats.rmd).

Fixed in v2.0.1.9014