Skip to contents

A small creel interview data frame with intentional data quality issues for demonstrating validate_creel_data() and standardize_species(). Includes an empty species string, a negative fish_kept value, and a missing trip_hours value.

Usage

creel_interviews_toy

Format

A data frame with 6 rows and 5 columns:

date

Interview date (Date class).

day_type

Day type stratum: "weekday" or "weekend".

species

Free-text species name; includes empty string and unrecognised value to demonstrate standardize_species() behaviour.

fish_kept

Number of fish kept; one row is intentionally negative.

trip_hours

Trip duration in hours; one row is intentionally NA.

Source

Simulated data for package examples and vignettes.

Examples

data(creel_interviews_toy)
if (FALSE) { # \dontrun{
validate_creel_data(interviews = creel_interviews_toy)
standardize_species(creel_interviews_toy, species_col = "species")
} # }