R: tidytext NASA data
Revision as of 08:01, 8 November 2018 by Onnowpurbo (talk | contribs) (Created page with " library(jsonlite) metadata <- fromJSON("https://data.nasa.gov/data.json") names(metadata$dataset) class(metadata$dataset$title) class(metadata$dataset$description) cla...")
library(jsonlite) metadata <- fromJSON("https://data.nasa.gov/data.json") names(metadata$dataset)
class(metadata$dataset$title) class(metadata$dataset$description) class(metadata$dataset$keyword)
library(dplyr) nasa_title <- data_frame(id = metadata$dataset$`_id`$`$oid`, title = metadata$dataset$title) nasa_title