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.
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.
See also
Other "Example Datasets":
creel_counts_toy,
example_aerial_counts,
example_aerial_glmm_counts,
example_aerial_interviews,
example_calendar,
example_camera_counts,
example_camera_interviews,
example_camera_timestamps,
example_catch,
example_counts,
example_ice_interviews,
example_ice_sampling_frame,
example_interviews,
example_lengths,
example_sections_calendar,
example_sections_counts,
example_sections_interviews
Examples
data(creel_interviews_toy)
if (FALSE) { # \dontrun{
validate_creel_data(interviews = creel_interviews_toy)
standardize_species(creel_interviews_toy, species_col = "species")
} # }
