Tidy PBS samples data for plot_sample_avail()
tidy_sample_avail(dat, year_range = NULL, ageing_method_codes = NULL)
dat | Input data frame from |
---|---|
year_range | Either |
ageing_method_codes | A numeric vector of ageing method codes to filter
on. Default to |
# NOT RUN { d <- get_survey_samples("lingcod") tidy_sample_avail(d) d <- get_commercial_samples("lingcod") tidy_sample_avail(d) # }