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"
)
(character) The WAStD API URL,
default get_wastdr_api_url
, see wastdr_setup
(character) The WAStD API token,
default get_wastdr_api_token
, see wastdr_setup
Whether to show debug messages. Default: wastdr::get_wastdr_verbose()
If supplied, the filepath to save the data object to.
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()