Skip to content

bjoleary/fdadata

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 P110019/S121      ABBOTT V… ABBOTT VASCU… ABBOTT        <NA>    3200 Lakeside…
#> 2 K812860           SKATRON,… SKATRON       SKATRON       <NA>    803 N. Front …
#> 3 P160041/S019      ROCHE MO… ROCHE MOLECU… ROCHE         <NA>    4300 Hacienda…
#> 4 K002463           SKYTRON,… SKYTRON DIV … SKYTRON DIV … KARI  … 5000 36TH ST …
#> 5 K893524           MEDICAL … MEDICAL DIAG… MEDICAL DIAG… BICK, … 6020 NICOLLE …
#> # ℹ 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

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published