Description Usage Arguments Details Examples
View source: R/dkanr_settings.R
Configure default DKAN settings
1 2 | dkanr_setup(url = "http://demo.getdkan.com", username = NULL,
password = NULL)
|
url |
A DKAN URL (optional), default: "http://demo.getdkan.com" |
username |
Username (optional, character) |
password |
Password (optional, character) |
dkanr_setup
sets DKAN connection details. dkanr
functions
default to use the default URL and API key unless specified explicitly.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
DKAN users without admin/editor privileges could run:
dkanr_setup(url = "http://demo.getdkan.com")
Privileged DKAN editor/admin users can run:
dkanr_setup(url = "http://demo.getdkan.com", username = "your-username", password = "your-password")
Not specifying the default DKAN URL will reset the DKAN URL to its default
"http://demo.getdkan.com":
dkanr_setup()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.