oh.login: Authenticate with an ohmage server

Description Usage Arguments Examples

View source: R/oh.login.R

Description

Authenticate with an ohmage server

Usage

1
oh.login(user, password, serverurl, ...)

Arguments

user

ohmage username

password

ohmage passwd

serverurl

url to the ohmage server

...

extra parameters for oh.call

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library(Ohmage)
## Not run: 
#authentication works like a cookie.
#oh.login("ohmage.admin", "ohmage.passwd", "https://example.com/app")

#list campaigns you are in
#oh.campaign.read()

#read some data
#oh.survey_response.read("urn:ohmage:campaign:mycampaign");

## End(Not run)

jeroenooms/Ohmage documentation built on May 19, 2019, 6:11 a.m.