get_biotime_data: Get a cleaned BioTime dataset

Description Usage Arguments Value Examples

View source: R/get_data_biotime.R

Description

Gets a prepped BioTime dataset (as a list of abundance, covariates, and metadata) for a specified dataset_id. First run prepare_biotime_data to create these files from the raw BioTime database. If the files are not found, then NULL is returned. Original data found here http://biotime.st-andrews.ac.uk/home.php

Usage

1
2
3
4
5
get_biotime_data(
  path = get_default_data_path(),
  dataset_id = 321,
  raw_path = file.path(path, "biotime-prepped", paste0("dataset", dataset_id, ".RDS"))
)

Arguments

path

where to load the raw data files from

dataset_id

the dataset index

raw_path

full path to the raw dataset file

Value

list of abundance, covariates, and metadata

Examples

1
2
3
4
## Not run: 
  get_biotime_data(dataset_id = 321)

## End(Not run)

weecology/MATSS documentation built on May 15, 2020, 7:03 p.m.