Setup and Troubleshoot
Setup Code
Setup in R
install.packages("httr")
install.packages("jsonlite")
install.packages("readr")
#Require the package so you can use it
require("jsonlite")
require("httr")
library(readr)token <- "<Enter your authentication token here>"
base <- "https://api-sandbox.ess-dive.lbl.gov"
header_authorization <- paste("bearer",token, sep=" ")
endpoint <- "packages"Troubleshoot
Last updated