R/summarize_individual_rodents.R
summarize_individual_rodents.Rd
This function cleans and subsets the data based on a number of arguments. It returns stake number and individual level data.
summarize_individual_rodents(
path = get_default_data_path(),
clean = TRUE,
type = "Rodents",
length = "all",
unknowns = FALSE,
time = "period",
fillweight = FALSE,
min_plots = 1,
min_traps = 1,
download_if_missing = TRUE,
quiet = FALSE
)
summarise_individual_rodents(
path = get_default_data_path(),
clean = TRUE,
type = "Rodents",
length = "all",
unknowns = FALSE,
time = "period",
fillweight = FALSE,
min_plots = 1,
min_traps = 1,
download_if_missing = TRUE,
quiet = FALSE
)
either the file path that contains the PortalData folder or "repo", which then pulls data from the PortalData GitHub repository
logical, load only QA/QC rodent data (TRUE) or all data (FALSE)
specify subset of species; either all "Rodents" or only "Granivores"
specify subset of plots; use "All" plots or only "Longterm" plots (to be deprecated)
either removes all individuals not identified to species (unknowns = FALSE) or sums them in an additional column (unknowns = TRUE)
specify the format of the time index in the output, either "period" (sequential Portal surveys), "newmoon" (lunar cycle numbering), "date" (calendar date), or "all" (for all time indices)
specify whether to fill in unknown weights with other records from that individual or species, where possible
minimum number of plots within a period for an observation to be included
minimum number of traps for a plot to be included
if the specified file path doesn't have the PortalData folder, then download it
logical, whether to run without producing messages
a data.frame