Description Usage Arguments Value
View source: R/drugshortagescanada.R
The search API is documented here: https://www.drugshortagescanada.ca/blog/52
1 | dsc_search(..., format = "tidy", max_pages = Inf)
|
... |
A named list of query parameters. See the DSC Web API documentation for details on query parameters: https://www.drugshortagescanada.ca/blog/52 |
format |
The default 'tidy' returns a tibble with columns converted to the appropriate data types. Use 'json' to get results as returned by the API in JSON format after using jsonlite::rbind_pages to concatenate multiple pages of results. |
max_pages |
Limit the number of requests made to the API. The number of results returned will depend on the total results, and the limit and offset parameters if supplied. |
Results formatted according to format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.