Skip to contents

The calendar of one simulated 120-day open-water season, May 1 to August 28, 2024, used by vignette("tidycreel"). Days are stratified into weekdays and weekends by the real day of the week. The clerk sampled 36 of the 120 days, so estimates of the season total expand the sampled days to every day in the calendar.

Usage

example_season_calendar

Format

A data frame with 120 rows and 3 columns:

date

Calendar date (Date class)

day_type

Day type stratum: "weekday" or "weekend"

sampled

Logical: TRUE on the 36 days with counts and interviews

Source

Simulated with simulate_creel_data() and a fixed seed; see data-raw/example_season.R in the package source.

Examples

data(example_season_calendar)
table(example_season_calendar$day_type, example_season_calendar$sampled)
#>          
#>           FALSE TRUE
#>   weekday    58   28
#>   weekend    26    8

design <- creel_design(example_season_calendar, date = date, strata = day_type)
design
#> 
#> ── Creel Survey Design ─────────────────────────────────────────────────────────
#> Type: "instantaneous"
#> Date column: date
#> Strata: day_type
#> Calendar: 120 days (2024-05-01 to 2024-08-28)
#> day_type: 2 levels
#> Counts: "none"
#> Interviews: "none"
#> Sections: "none"