get_openhub_key: Gets a single OpenHub API key

Description Usage Arguments Value Examples

Description

Calls ‘get_openhub_keys_df' to get API key(s) so it’s not accidentently pushed in the code.

Usage

1
2
get_openhub_key(key_index = 1, key_id = NULL, key_name = NULL,
  file = "/home/sdal/projects/sdal/api_keys/ohloh_keys.csv")

Arguments

key_index

the row index of the key (can also be vector of integers), defaults to 1

key_id

the id to use to subset the table of API keys (use with key_name), defaults to NULL

key_name

the name to use to subset the table of API keys (use with key_id), defaults to NULL

file

location of the google maps key file by default it points to the location in the sdal server

Value

string

Examples

1
2
3
4
5
6
7
get_openhub_key()

get_openhub_key(2)

get_openhub_key(c(1, 2))

get_openhub_key(key_id = 'oh_key_dc', key_name = 'Daniel')

bi-sdal/sdalr documentation built on May 12, 2019, 8:29 p.m.