View source: R/summarize_ants.R
bait_presence_absence | R Documentation |
Get ant species presence/absence by year/plot/stake from bait census data
Bait census data is more consistent over time than the colony census data. This function assumes that all species present in at least one census were censused in all years.
bait_presence_absence(
path = get_default_data_path(),
level = "Site",
download_if_missing = TRUE,
quiet = FALSE
)
path |
either the file path that contains the PortalData folder or "repo", which then pulls data from the PortalData GitHub repository |
level |
level at which to summarize data: 'Site', 'Plot', or 'Stake' |
download_if_missing |
if the specified file path doesn't have the PortalData folder, then download it |
quiet |
logical, whether to run without version messages |
data frame with year, species, (plot if applicable), and presence [1, 0]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.