Looks for and imports the most-recent version of the occurrence data created by the repoMerge() function.

importOccurrences(path = path, fileName = "^BeeData_")

Arguments

path

A directory as a character. The directory to recursively look in for the above data.

fileName

Character. A String of text to look for the most-recent dataset. Default = "^BeeData_". Find faults by modifying fileFinder() and logic-checking the file that's found.

Value

A list with a data frame of merged occurrence records, "Data_WebDL", and a list of EML files contained in "eml_files".

Examples

if (FALSE) {
DataImp <- importOccurrences(path = DataPath)
}