-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hey!
I am looking to pull all of the data from the Open FDA API specific to grapefruit interactions with drugs. I am trying to pull one down, then expanding it. Here is my code:
fdatest = fda_query("/drug/event.json") %>%
fda_api_key(MYKEY) %>%
fda_filter("drug.interactions", "Grapefruit") %>%
fda_search() %>%
fda_limit(1) %>%
fda_exec()
print(fdatest)
- It isn't working. I found the API site that said drug interactions are likely where you find the information that you'll need to filter.
- How can I loop it to pull more inquries. Will I use fda_skip and reset it? Would that look like this (Say I pull 100 at a time):
skip <- [1, 100]
fda_skip{skip)
Metadata
Metadata
Assignees
Labels
No labels