update_data: Update allometry data.

Description Usage Arguments Details Value

View source: R/update_data.R

Description

Updates the allometry data sets.

Usage

1
2
update_data(data_dir, dropbox_dir = "/home/a/Dropbox",
  return_data = FALSE)

Arguments

data_dir

character string indicating the directory in which the compiled data will be saved.

dropbox_dir

character string indicating the location of your Dropbox folder. The allometry XLS files are assumed to be in the shared folder: ../CommunityAnalysis/Allometry

return_data

logical indicating whether or not the data should be returned after running the update. If no new data are found, nothing will be returned.

Details

This compiles the most recent release of allometry data and adds data from any new allometry data files. Inputs should be XLS files located in ../Dropbox/CommunityAnalysis/Allometry

Value

Saves the compiled data set as an RDS file in the chosen directory. It is expected that this file will be uploaded to the GitHub repository as a new release. The data frame of updated data is optionally returned.


SrivastavaLab/allometrydata documentation built on May 24, 2019, 8:50 a.m.