View source: R/atlas_citation.R
atlas_citation | R Documentation |
If a tibble
containing occurrences was generated using galah (either via
collect()
or atlas_occurrences()
), it
will usually contain associated metadata stored in attributes()
that can be
used to build a citation for that dataset. This function simply extracts that
information, formats it, then both invisibly returns the formatted citation
and prints it to the console.
atlas_citation(data)
data |
A |
Invisibly returns a string containing the citation for that dataset. Primarily called for the side-effect of printing this string to the console.
## Not run:
x <- galah_call() |>
identify("Heleioporus") |>
filter(year == 2022) |>
collect()
atlas_citation(x)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.