dr_download_all: Download all DATRAS data

View source: R/dr_download_all.R

dr_download_allR Documentation

Download all DATRAS data

Description

Saves rds files of all surveys HH, HL and CA data into a specified directory. This takes a while so suggest to run this function in an R-script that is run via nohub or "RStudio Background Jobs".

Usage

dr_download_all(
  save_dir,
  surveys = "all",
  years = "all",
  quarters = "all",
  quiet = FALSE
)

Arguments

save_dir

The path to the directory where data are to be stored

surveys

survey name or names (optional)

years

year selection (optional)

quarters

quarter selection (optional)

quiet

boolean (default FALSE) that regulates whether info is being shown


fishvice/tidyices documentation built on Sept. 12, 2023, 4:22 p.m.