Description Value Slots See Also Examples
new("Drug")
will instatiate an object of class Drug which holds
attributes and methods for useful for accessing the openFDA API
An object of a class Drug
aeTab
data.frame object of Adverse Events.
prodTab
data.frame object of Product Information
ndcTab
data.frame object of NDC information
reTab
data.frame object of Recall Enforcement
ndc
Numeric ndc value. This will be converted later using the
ndcToString
method into Obj@ndcquery
value.
ndcquery
String of ndc value converted using ndcToString
.
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.