bcgov / bc-bear-dens

Data management and analysis for the LUPCE Bear Dens project
0 stars 0 forks source link

QA/QC flags for bear den data #3

Open popovs opened 1 month ago

popovs commented 1 month ago

Develop scripts in R to flag data quality issues in the bear den data. Longterm, this QA/QC script should ideally eventually create an issue ticket for issues that it flags.

Bear dens current table flags

Field visits table flags This table ideally gets scanned each day in the field, or potentially even after each new record is added.

popovs commented 1 month ago

Need to get a list of required not-null cols for both bear den tables

popovs commented 1 month ago

Required columns for field visits ('Unknown' or NA is ok, but there should be no blanks):

Den ID

popovs commented 4 weeks ago

Possibly also flag 'forestry treatment description' in one year not matching other years?

popovs commented 4 weeks ago

Ideal future vision: store these QAQC flags as a SQL View rather than R script so it's a living document. Then develop Shiny interface to allow interactive viewing and editing of flagged data.