I perform GET() data from OpenFDA api. As a response, I get
library(rjson)
library(RCurl)
library(httr)
library(dplyr)
response <- GET("https://api.fda.gov/drug/label.json?search=(effective_time:[20180101+TO+20200922])+AND+AstraZeneca&limit=900")
content <- fromJSON(rawToChar(response$content))
res <- content$results
rawData <- as.data.frame(do.call(rbind, res))
Need your help to transform rawData into proper table, data.frame or DT format so I can select only the necessary columns.
Much appreciated