USGS_formatter {BeeBDC}R Documentation

Find, import, and format USGS data to Darwin Core

Description

The function finds, imports, formats, and creates metadata for the USGS dataset.

Usage

USGS_formatter(path, pubDate)

Arguments

path

A character path to a directory that contains the USGS data, which will be found using fileFinder(). The function will look for "USGS_DRO_flat".

pubDate

Character. The publication date of the dataset to update the metadata and citation.

Value

Returns a list with the occurrence data, "USGS_data", and the EML data, "EML_attributes".

Examples

## Not run: 
USGS_data <- USGS_formatter(path = DataPath, pubDate = "19-11-2022")

## End(Not run)


[Package BeeBDC version 1.1.1 Index]