R/scratch2.R

# 
# library(jsonlite)
# 
# json <- "~/Desktop/google_timeline/Takeout/Location History/Location History.json"
# 
# # js <- jsonlite::fromJSON(json)
# #
# # js2 <- jsonify::from_json(json)
# 
# json_small <- "~/Desktop/google_timeline/Takeout/Location History/Location History Small.json"
# jfy <- from_json( json_small, simplify = T, fill_na = T)
# jlt <- fromJSON( json_small )
# 
# 
# 
# 
# json <- "~/Desktop/google_timeline/Takeout/Location History/Location History Reducing.json"
# ls <- readLines(json); js <- paste0(ls, collapse = "")
# 
# res <- jsonify::from_json( js, fill_na = T )
# 

Try the jsonify package in your browser

Any scripts or data that you put into this service are public.

jsonify documentation built on Nov. 10, 2022, 5:34 p.m.