HEAL-KGS / STICr

A collection of functions for tidying and processing raw data from Stream Temperature, Intermittency, and Conductivity (STIC) loggers
GNU Affero General Public License v3.0
4 stars 2 forks source link

qaqc_stic_data example not working #23

Closed samzipper closed 1 week ago

samzipper commented 1 year ago

Running the code:

qaqc_df <- qaqc_stic_data(classified_df, spc_neg_correction = TRUE, inspect_classification = TRUE, concatenate_flags = TRUE)

Produces:

Error in dplyr::select(): ! Problem while evaluating data.table::rleid(wetdry). Run rlang::last_error() to see where the error occurred.

samzipper commented 7 months ago

Issue is that classified_df doesn't include outside_std_range column

samzipper commented 1 week ago

Fixed - made qaqc function more generic to work with whatever columns are present