Description Usage Arguments See Also
api_get_batch
fetches the specified endpoint data from the bioscreen.
1 2 3 4 | api_get_batch(endpoint = "subjects",
base_url = "https://msbioscreen-uat.herokuapp.com/api/v1",
token = get_token(), verbose_b = TRUE, number_of_pages = NULL,
results_per_page = NULL)
|
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? |
number_of_pages |
number of pages of data to return. If set to NULL (default), all pages are returned. |
results_per_page |
number of results to return per page. If set to NULL (default), the results_per_page query argument in the HTTP request header is equal to its default value. |
api_do_action
, return_status
, response_to_data_frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.