Description Value Slots See Also Examples
new("FDA") will instatiate an object of class FDA which holds
attributes and methods for useful for accessing the openFDA API
An object of a class FDA.
urlBase url. Default = "https://api.fda.gov/".
apikeyString of API key from openFDA API
endpointfrontString of API access point. This will vary by different classess.
For example, the Drug class will have "drug" as the endpointfront value.
endpointbackString of API access point. This will vary by different classess.
For example, the Drug class will have a variety of options based on the
listSF. Specifically "event" may be an option.
searchfieldString of search field provided by open FDA. This will vary by different classess.
https://open.fda.gov/apis/drug/ndc/ for the actual
API description from openFDA. jsonlite for accessing API.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.