Correct and otherwise filter BBS species data (see combine_bbs_subspecies and filter_bbs_species for more info). Generate the abundance, covariate, and metadata tables and return the combined object.

process_bbs_route_region_data(
  bbs_data_table,
  location_table,
  species_table,
  save_to_file = FALSE,
  storage_path = file.path(get_default_data_path(), "breed-bird-survey-prepped"),
  citation_text = NULL
)

Arguments

bbs_data_table

main bbs data table

location_table

information about location of the route

species_table

table of species for BBS

save_to_file

whether to save the processed dataset to a file

storage_path

folder in which to put processed dataset

citation_text

text of citation for the database

Value

the processed BBS data