Skip to contents

A 12-day survey calendar used to demonstrate the spatially stratified workflow with add_sections(). Contains 6 weekdays and 6 weekends from June 2024. Matches the date range of example_sections_counts and example_sections_interviews.

Usage

example_sections_calendar

Format

A data frame with 12 rows and 2 columns:

date

Survey date (Date class), June 2024

day_type

Day type stratum: "weekday" or "weekend"

Source

Simulated data for package examples

Examples

data(example_sections_calendar)
head(example_sections_calendar)
#>         date day_type
#> 1 2024-06-03  weekday
#> 2 2024-06-04  weekday
#> 3 2024-06-05  weekday
#> 4 2024-06-06  weekday
#> 5 2024-06-07  weekday
#> 6 2024-06-10  weekday

design <- creel_design(example_sections_calendar, date = date, strata = day_type)
print(design)
#> 
#> ── Creel Survey Design ─────────────────────────────────────────────────────────
#> Type: "instantaneous"
#> Date column: date
#> Strata: day_type
#> Calendar: 12 days (2024-06-03 to 2024-06-21)
#> day_type: 2 levels
#> Counts: "none"
#> Interviews: "none"
#> Sections: "none"