get_url: Function to create url to pull data from the data warehouse

View source: R/get_url.R

get_urlR Documentation

Function to create url to pull data from the data warehouse

Description

Function to create url to pull data from the data warehouse

Usage

get_url(data_table, project_long, add_species, years, vars_long)

Arguments

data_table

table to pull from the data warehouse, options = trawl.catch_fact, trawl.operation_haul_fact

project_long

survey project name

add_species

string of species name created by the pull_catch or pull_bio functions.

years

An integer vector of length two with the range of years to pull data for (e.g., c(2003, 2024)). Vector can not contain -Inf or Inf.

vars_long

string of fields to pull from the data warehouse

Author(s)

Chantel Wetzel


nwfsc-assess/nwfscSurvey documentation built on Nov. 12, 2024, 8:14 p.m.