read_dbem: Reads DBEM files

View source: R/read_dbem.R

read_dbemR Documentation

Reads DBEM files

Description

This function loads the DBEM files from DROBO. You have to be connected to the UBC network and have access to the CORU-DROBO in order to use the function. Note that no user/id will be required but the path wont be found.

Usage

read_dbem(
  taxon_key,
  year,
  cmip,
  model = "All",
  rcp,
  data_type,
  root_path,
  my_path = FALSE
)

Arguments

taxon_key

is the species to load as taxon key number.

year

expects a sequence of years to load the data from

cmip

can be 5 for CMIP5 or 6 CMPI6. Note that CMPI5 only has GFDL, IPSL and MPI. CMPI6 has additional CNRM and UKESM

model

is the ESM models to load; GFDL; IPSL, MPI, CNRM, UKESM. For all models select "All";

rcp

expects "26" for RCP 2.6-low emission scenario and "85" for RCP 8.5-high emission scenario

data_type

select Catch or Abd data

root_path

Expects the root computer path before DROBO. Note: do not include /

my_path

If you have a completely different path for the data. Note that you still have to respect "model/rcp/taxonkey/" structure

Value

A tidy table -tiddy- with the DBEM data selected

Author(s)

Juliano Palacios Abrantes | j.palacios@oceans.ubc.ca


coruubc/Rcoru documentation built on Feb. 11, 2024, 12:07 a.m.