R/dataProvTables.R
dataProvTables.Rd
This function will attempt to find and build a table of data providers that have contributed to the input data, especially using the 'institutionCode' column. It will also look for a variety of other columns to find data providers using an internally set sequence of if-else statements. Hence, this function is quite specific for bee data, but should work for other taxa in similar institutions.
dataProvTables(
data = NULL,
runBeeDataChecks = FALSE,
outPath = OutPath_Report,
fileName = NULL
)
A data frame or tibble. Occurrence records as input.
Logical. If TRUE, will search in other columns for specific clues to determine the institution.
A character path. The path to the directory in which the figure will be saved. Default = OutPath_Report.
Character. The name of the file to be saved, ending in ".csv".
Returns a table with the data providers, an specimen count, and a species count.