atlas_citation: Generate a citation for occurrence data

View source: R/atlas_citation.R

atlas_citationR Documentation

Generate a citation for occurrence data

Description

If a data.frame was generated using atlas_occurrences(), and the mint_doi argument was set to TRUE, the DOI associated with that dataset is appended to the resulting data.frame as an attribute. This function simply formats that DOI as a citation that can be included in a scientific publication. Please also consider citing this package, using the information in citation("galah").

Usage

atlas_citation(data)

Arguments

data

data.frame: occurrence data generated by atlas_occurrences()

Value

A string containing the citation for that dataset.

Examples

## Not run: 
atlas_citation(doi)

## End(Not run)

galah documentation built on Nov. 20, 2023, 9:07 a.m.