openfda: openfda: A package for interfacing to the OpenFDA API

Description Details Examples

Description

This package provides a simple wrapper around the OpenFDA API.

Details

It uses the magrittr piping interface to simplify building complex queries.

Examples

1
2
3
4
5
6
7
8
# Queries generally have the following format
## Not run: 
fda_query(endpoint) %>%
   fda_filter(field, value) %>%
   fda_count(field) OR fda_search() %>%
   fda_exec()

## End(Not run)

rOpenHealth/openfda documentation built on May 26, 2019, 8:50 p.m.