[Stable]

survey_count(surveys, sid, seas)

Arguments

surveys

(tibble) The output of parse_surveys.

sid

The ID of a site, e.g. 22

seas

The season as integer, e.g. 2018

Examples

data("wastd_data")
one_season <- unique(wastd_data$surveys$season)[1]
one_site_id <- unique(wastd_data$surveys$site_id)[1]
survey_count(wastd_data$surveys, one_site_id, one_season)
#> [1] 43