View source: R/extract_records.R
extract_records | R Documentation |
This function is used to scrape GBIF for occurrence records for a chosen taxonomic group, on a chosen continent.
extract_records( continent = NULL, country = NULL, year, taxon, write_output, output_path, output_name )
continent |
String. E.g. "south_america", "europe". Do not specify unless country is NULL. |
country |
string. E.g. "BR" for Brasil, "AR" for Argentina, and "CL" for Chile |
year |
string. year(s) for which to extract data. For a range, format as e.g. "1995,2010". For a single year, as e.g. "2005". |
taxon |
numeric. GBIF taxonomic key. |
write_output |
logical |
output_path |
string. Directory in which to save outputs. |
output_name |
string. Name of file to be saved if write_output = TRUE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.