dkanr_setup: Configure default DKAN settings

Description Usage Arguments Details Examples

View source: R/dkanr_settings.R

Description

Configure default DKAN settings

Usage

1
2
dkanr_setup(url = "http://demo.getdkan.com", username = NULL,
  password = NULL)

Arguments

url

A DKAN URL (optional), default: "http://demo.getdkan.com"

username

Username (optional, character)

password

Password (optional, character)

Details

dkanr_setup sets DKAN connection details. dkanr functions default to use the default URL and API key unless specified explicitly.

Examples

 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)

dkanr documentation built on May 1, 2019, 7:31 p.m.