File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ knitr::opts_chunk$set(
1616# openFDA
1717
1818<!-- badges: start -->
19- [ ![ CRAN status] ( https://www.r-pkg.org/badges/version/openFDA )] ( https://CRAN.R-project.org/package=openFDA )
19+ [ ![ CRAN status] ( https://www.r-pkg.org/badges/version-last-release /openFDA )] ( https://CRAN.R-project.org/package=openFDA )
2020[ ![ R-CMD-check] ( https://github.com/simpar1471/openFDA/actions/workflows/R-CMD-check.yaml/badge.svg )] ( https://github.com/simpar1471/openFDA/actions/workflows/R-CMD-check.yaml )
2121[ ![ check-no-suggests] ( https://github.com/simpar1471/openFDA/actions/workflows/check-no-suggests.yaml/badge.svg )] ( https://github.com/simpar1471/openFDA/actions/workflows/check-no-suggests.yaml )
2222[ ![ Codecov test coverage] ( https://codecov.io/gh/simpar1471/openFDA/graph/badge.svg?token=1Y7FL87Z21 )] ( https://codecov.io/gh/simpar1471/openFDA )
Original file line number Diff line number Diff line change 66<!-- badges: start -->
77
88[ ![ CRAN
9- status] ( https://www.r-pkg.org/badges/version/openFDA )] ( https://CRAN.R-project.org/package=openFDA )
9+ status] ( https://www.r-pkg.org/badges/version-last-release /openFDA )] ( https://CRAN.R-project.org/package=openFDA )
1010[ ![ R-CMD-check] ( https://github.com/simpar1471/openFDA/actions/workflows/R-CMD-check.yaml/badge.svg )] ( https://github.com/simpar1471/openFDA/actions/workflows/R-CMD-check.yaml )
1111[ ![ check-no-suggests] ( https://github.com/simpar1471/openFDA/actions/workflows/check-no-suggests.yaml/badge.svg )] ( https://github.com/simpar1471/openFDA/actions/workflows/check-no-suggests.yaml )
1212[ ![ Codecov test
9999# > https://api.fda.gov/drug/drugsfda.json?search=openfda.generic_name:furosemide&limit=5
100100# > Status: 200 OK
101101# > Content-Type: application/json
102- # > Body: In memory (44851 bytes)
102+ # > Body: In memory (25782 bytes)
103103```
104104
105105The returned ` httr2 ` response object contains JSON data from the API -
@@ -125,9 +125,9 @@ purrr::map_chr(
125125 .x = json $ results ,
126126 .f = \(result ) purrr :: pluck(result , " openfda" , " manufacturer_name" , 1 )
127127)
128- # > [1] "Hospira , Inc." "Hikma Pharmaceuticals USA Inc."
129- # > [3] "Hikma Pharmaceuticals USA Inc." "Hikma Pharmaceuticals USA Inc."
130- # > [5] "Gland Pharma Limited "
128+ # > [1] "Rising Pharma Holdings , Inc." "Hikma Pharmaceuticals USA Inc."
129+ # > [3] "Civica, Inc." "Leading Pharma, LLC"
130+ # > [5] "Meitheal Pharmaceuticals Inc. "
131131```
132132
133133## Other R packages for openFDA
You can’t perform that action at this time.
0 commit comments