galah_config | R Documentation |
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.
galah_config(...)
... |
Options can be defined using the form
|
For galah_config()
, a list
of all options.
When galah_config(...)
is called with arguments, nothing is returned
but the configuration is set.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.