galah_config {galah} | R Documentation |
Get or set configuration options that control galah behaviour
Description
The galah
package supports large data downloads, and also
interfaces with the ALA which requires that users of some services
provide a registered email address and reason for downloading data. The
galah_config
function provides a way to manage these issues as simply
as possible.
Usage
galah_config(...)
Arguments
... |
Options can be defined using the form
|
Value
For galah_config()
, a list
of all options.
When galah_config(...)
is called with arguments, nothing is returned
but the configuration is set.
Examples
## Not run:
# To download occurrence records, enter your email in `galah_config()`.
# This email should be registered with the atlas in question.
galah_config(email = "your-email@email.com")
# Turn on caching in your session
galah_config(caching = TRUE)
# Some ALA services require that you add a reason for downloading data.
# Add your selected reason using the option `download_reason_id`
galah_config(download_reason_id = 0)
# To look up all valid reasons to enter, use `show_all(reasons)`
show_all(reasons)
# Make debugging in your session easier by setting `verbose = TRUE`
galah_config(verbose = TRUE)
## End(Not run)