Description Usage Arguments Value Examples
This function generates, for each queried polygon, a *.csv file of the final species
checklist and abundance classification created by make_checklists
. It
requires that the output of make_checklists
be output to an R object and
the argument xls = FALSE
; see example. This produces a clean file for easy import
into, e.g., an external database.
1 | checklists_to_csv(checklist, out_dir = "../Output/")
|
checklist |
a |
out_dir |
character string of the file path to the directory in which to save output comma-separated file(s) |
a comma-separated file for each distinct polygon (i.e., each name
in the
geo_ebird_df
passed to make_checklists
)
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# Get shapefile
SErefuges <- rgdal::readOGR("../GIS", "refuges", verbose = FALSE, stringsAsFactors = FALSE)
# Query eBird records within Piedmont NWR and 10 km buffer
piedmont <- geo_ebird(SErefuges, which_polys = "Piedmont", buffers = c(0, 10))
# Generate R object containing abundance, occurrence, final checklist, and effort information
# Note to store the output in an R object and specify xls = FALSE
piedmont_cl <- make_checklists(piedmont, xls = FALSE)
checklists_to_csv(piedmont_cl)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.