--- title: "Data Status Report" author: "Elham Ebrahimi" description: "This vignette describes the Data Status Report and explains the checks used to assess the quality, completeness, and consistency of camera-trap data." output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{Data Status Report} %\VignetteEngine{knitr::rmarkdown} \usepackage[utf8]{inputenc} --- ## Data Status Report The Data Status Report provides an overview of the quality, completeness, and readiness of a camera-trap dataset before generating the final Ecological Report. It helps users check whether the main input files, metadata fields, deployment information, observation records, taxonomy, timestamps, annotation information, and spatial data are complete and internally consistent. This report is especially useful as a first quality-control step. It allows users to identify missing values, duplicated records, invalid timestamps, incomplete metadata, spatial issues, and inconsistencies between deployments and observations. Based on these checks, users can decide whether the dataset is ready for reporting or whether further correction is needed before ecological analyses are performed. ```{r data-status-workflow, echo=FALSE, out.width="100%", fig.cap="Figure 1. Workflow for generating a Data Status Report from camera-trap data using camtrapReport."} knitr::include_graphics("figures/data-status/WF_DS.png") ``` Figure 1 summarises how `camtrapReport` checks the readiness of a camera-trap dataset before ecological reporting. After the data are loaded with `camData()`, the `status()` function runs automated checks on the main input files, metadata, deployments, observations, timestamps, taxonomy, spatial information, and annotation records. The output helps users identify potential issues and decide whether the dataset is ready for generating the final Ecological Report. ```{r data-status-basic-code, eval=FALSE} library(camtrapReport) # Load camera-trap data cm <- camData("cameratrap.zip") # Generate and view the Data Status Report status(cm, view = TRUE) ``` When `view = TRUE`, the generated report is opened in the browser. This provides a quick, human-readable overview of dataset quality, completeness, and consistency.