Skip to content
bjolearyPublic

About

Package for accessing US FDA data

Resources

Code of conduct

Contributing

Stars

11 stars

Watchers

1 watching

Forks

Repository files navigation

fdadata

Lifecycle: experimental R-CMD-check Codecov test coverage

The goal of fdadata is to access public information from the FDA website.

Installation

Install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("bjoleary/fdadata")

Example

Access FDA premarket data:

library(fdadata)
library(dplyr)
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union

fdadata::premarket %>% 
  dplyr::sample_n(5) %>% 
  print()
#> # A tibble: 5 × 30
#>   submission_number sponsor   company_clean company_group contact address_line_1
#>   <chr>             <chr>     <chr>         <chr>         <chr>   <chr>         
#> 1 P980016/S913      Medtroni… MEDTRONIC CA… MEDTRONIC     <NA>    8200 Coral Se…
#> 2 P980016/S583      Medtroni… MEDTRONIC CA… MEDTRONIC     <NA>    8200 Coral Se…
#> 3 K030503           Boston S… BOSTON SCIEN… BOSTON SCIEN… DONNA … One Boston Sc…
#> 4 K860684           Sandare … SANDARE CHEM… SANDARE CHEM… JAMES … P.O. Box 3028 
#> 5 K860182           Oxford M… OXFORD MEDIL… OXFORD MEDIL… MICHAE… 11526 53rd. S…
#> # ℹ 24 more variables: address_line_2 <chr>, city <chr>, state <chr>,
#> #   country <chr>, zip_code <chr>, date_start <date>, date_decision <date>,
#> #   decision_code <chr>, panel_code <chr>, product_code <chr>, summary <fct>,
#> #   track <fct>, third_party_review <chr>, expedited <fct>, device <chr>,
#> #   type <chr>, panel <fct>, decision <fct>, decision_category <fct>,
#> #   date_federal_register <date>, generic_name <chr>, reason <chr>,
#> #   docket_number <chr>, approval_order_statement <chr>

Additional datasets include fdadata::pmn (510(k)s and De Novos), fdadata::pma, and fdadata::product_codes.

About

Package for accessing US FDA data

Resources

Code of conduct

Contributing

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages