All functions

afsc_grid

Data frame containing multiple survey grids for surveys collected by NOAA's Alaska Fisheries Science Center. Columns include the latitude and longitude in decimal degrees, area of each survey cell (in hectares), the survey name (survey) year of update (survey_domain_year) and depth (currently NA for this dataset and must be joined in separately). Survey names generally match those for data in get_data()

cache_data()

Function to cache the data files locally

cache_files()

Wrapper function to cache files

data_version()

Public facing function to create table of metadata

dfo_synoptic_grid

Data frame containing the survey grid for the Fisheries and Oceans Canada's synoptic trawl survey collected by DFO's Pacific Biological Station. Columns include the latitude and longitude in decimal degrees, area of each survey cell (in hectares), the survey name (survey) and year of update (survey_domain_year) and depth

file_last_modified()

Function to get the last modified date of a file from GitHub

get_cache_folder()

Identify the local folder used for caching

get_data()

Main function to query the survey database

get_metadata()

Get the metadata URLs for each dataset

get_metadata_file()

Function to get the metadata file path

get_rawdata()

Get the URLs to raw data for each dataset

get_shapefiles()

Get the survey grid shapefiles for each dataset

get_species()

Get the table of common and scientific names in the joined dataset

get_survey_names()

Get the name for each survey and corresponding region

load_metadata()

Function to load metadata

load_sql_data()

Load SQLite database

nwfsc_grid

Data frame containing the survey grid for the West Coast Bottom Trawl Survey (WCBTS) collected by NOAA's Northwest Fisheries Science Center. Columns include the latitude and longitude in decimal degrees, area of each survey cell (in hectares), the survey name (survey) year of update (survey_domain_year) and depth (currently NA for this dataset and must be joined in separately)

save_metadata()

Function to save metadata

spp_dictionary

Data frame of species common names, scientific names, and ITIS numbers

surv_db()

Function to create a connection to the database