get_access_token: Get an access oauth access token for Go.Data

View source: R/get_access_token.R

get_access_tokenR Documentation

Get an access oauth access token for Go.Data

Description

A function to retrieve an access token from Go.Data. This is a housekeeping function used in many of the other godataR functions.

Usage

get_access_token(url, username, password)

Arguments

url

Insert the base URL for your instance of Go.Data here. Don't forget the forward slash "/" at end!

username

The email address for your Go.Data login.

password

The password for your Go.Data login

Value

string

Examples

## Not run: 
url <- "https://MyGoDataServer.com/"
username <- "myemail@email.com"
password <- "mypassword"
get_access_token(url = url,
                 username = username,
                 password = password)

## End(Not run)

WorldHealthOrganization/godataR documentation built on May 21, 2023, 11:30 a.m.