dkanr_setup {dkanr}R Documentation

Configure default DKAN settings

Description

Configure default DKAN settings

Usage

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

## 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)

[Package dkanr version 0.1.3 Index]