grab_bbs_data: Downloads and Imports the BBS Observations and Associated...

View source: R/grab_bbs_data.R

grab_bbs_dataR Documentation

Downloads and Imports the BBS Observations and Associated Metadata

Description

This function will download, unpack, and import the BBS dataset and associated metadata for a single dataset release. Defaults to the most recent version of the BBS dataset. Wrapper for internal functions download_bbs_data(), unpack_bbs_data(), and import_bbs_data().

Usage

grab_bbs_data(sb_id = NULL, bbs_dir = NULL, overwrite = FALSE)

Arguments

sb_id

ScienceBase item number/identifier, used in sbtools.

bbs_dir

The location where the BBS data will be stored. If not specified, will create a directory within the working directory called "data-raw."

overwrite

Logical. Defaults to FALSE. FALSE will not download files if they exist in the specified directory.


TrashBirdEcology/bbsAssistant documentation built on May 20, 2022, 10:57 a.m.