writeQC | R Documentation |
.csv
files for each tag deploymentwrites a single QCsummary.csv file and/or tag-deployment-specific temporal_outcome
's
of quality-controlled detections to .csv
files
writeQC(x, path = NULL, summary = TRUE, csv = TRUE)
x |
a nested tibble with class |
path |
path to write QC'd files to. If NULL the files are written to the working directory |
summary |
whether to generate a summary |
csv |
whether to generate the individual |
takes a remora_QC
nested tibble and writes .csv files
corresponding to each row of the nested tibble. A summary of the QC process
is written to QCsummary.csv
. The summary contains the following information for each QC'd tag
(see references for more details):
total detections - the number of raw detections
detections_before_deployment - the number of detections recorded prior to deployment date in metadata
invalid_deployment_location - logical indicating whether deployment longitude,latitude is valid
detections_outside_species_range - the number of detections that occurred outside the species expert distribution
valid_detections - the number of detections that passed the QC process (QC flags 1 and 2)
tracking_duration_days - the number of days between deployment and the last valid detection
invalid_velocity - the number of detections associated with implausible travel speeds
.csv files and/or a QCsummary.csv file are written to the specified path
Hoenner X et al. (2018) Australia’s continental-scale acoustic tracking database and its automated quality control process. Sci Data 5, 170206 https://doi.org/10.1038/sdata.2017.206
## Not run:
## example QC'd data
data(TownsvilleReefQC)
## write QC output
writeQC(TownsvilleReefQC, summary = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.