powered by
This will attempt to safely retrieve data and return a elegant error message to the user if the data is unavailable.
safely_read_json(json_url)
json API URL
parsed dataset or a elegant error message
# NOT RUN { { json_url <- 'https://s2.coinmarketcap.com/generated/search/quick_search.json' result <- safely_read_json(json_url) } # }
Run the code above in your browser using DataLab