View source: R/download_wastd_sites.R
download_wastd_sites | R Documentation |
Download Areas of type Site from WAStD
download_wastd_sites( api_url = wastdr::get_wastdr_api_url(), api_token = wastdr::get_wastdr_api_token(), verbose = wastdr::get_wastdr_verbose(), save = NULL, compress = "xz" )
api_url |
(character) The WAStD API URL,
default |
api_token |
(character) The WAStD API token,
default |
verbose |
Whether to show debug messages. Default: wastdr::get_wastdr_verbose() |
save |
If supplied, the filepath to save the data object to. |
compress |
The saveRDS compression parameter, default: "xz". Set to FALSE for faster writes and reads but larger filesize. |
A list
downloaded_on A timestamp of the download
localities A sf
object of WAStD Areas of type Locality
sites An sf
object of WAStD Areas of type Sites joined to Localities.
Other api:
build_auth()
,
download_minimal_wastd_turtledata()
,
download_wastd_turtledata()
,
download_wastd_users()
,
export_wastd_turtledata()
,
filter_wastd_turtledata_area()
,
filter_wastd_turtledata_seasons()
,
filter_wastd_turtledata()
,
handle_http_status()
,
wastd_GET()
,
wastd_POST()
,
wastd_bulk_post()
,
wastd_chunk_post()
,
wastd_create_update_skip()
,
wastd_parse()
,
wastd_post_one()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.