api_get: Fetch MS Bioscreen data entry

Description Usage Arguments See Also

Description

api_get returns the bioscreen data associated with the specified source_id, external_identifier, and endpoint.

Usage

1
2
3
api_get(source_id = 1, external_identifier = 100, endpoint = "subjects",
  base_url = "https://msbioscreen-uat.herokuapp.com/api/v1",
  token = get_token(), verbose_b = TRUE)

Arguments

source_id

source identifer

external_identifier

external identifer

endpoint

the data endpoint of interest. Possible values are "subjects", "attacks", "treatments", and "visits".

base_url

the API base URL.

token

HTTP authorization token. Default is to get environment variable 'MSBWAITER_TOKEN'.

verbose_b

print progress messages as function runs?

See Also

api_do_action, api_create, api_update, api_delete, api_search_by_epicid, api_search_by_updated_at, api_check


UCSF-MSLAB/msbwaiter documentation built on May 9, 2019, 5:19 p.m.