Description Usage Arguments Value Examples
View source: R/drugshortagescanada.R
DSC search results
1 | dsc_search(..., single_page = F, flattened = T)
|
... |
A named list of query parameters. See the DSC Web API documentation for details on query parameters: https://www.drugshortagescanada.ca/blog/52 |
single_page |
If TRUE only returns the first page of results as a JSON object. This is useful only if you care about the metadata about the search returned by the database. See the API documentation for details. |
flattened |
If TRUE returns a flat-ish data.frame of the results using jsonlite::flatten. This does not apply if single_page = TRUE |
Results as a data.fram, or JSON object if single_page = T
1 | results = dsc_search(term = "venlafaxine")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.