set_species_list: Save a Species List into an RData File

View source: R/new_species_setter.R

set_species_listR Documentation

Save a Species List into an RData File

Description

Saves a species list into a batr RData file so that you don't have to specify it each time you run a function. If no species list is specified functions will ask for it.

Usage

set_species_list(species_list, data_path)

Arguments

species_list

A vector list of species codes that correspond to those in the GUANO metadata for the files in the data set

data_path

Character. Path to an RData file to add activity data to. Optional, a save location will be created before data are saved.

Value

An RData file containing a list of species for the project, along with other data if added to an existing RData file

See Also

Other species tools: list_all_species(), show_species_list()

Examples

## Not run: set_species_list(c("Epfu", "Labo"), "C:/Folder/Folder/Data.RData")

vulpes-vulpes/batr documentation built on Jan. 23, 2025, 3:23 p.m.