safe_info | R Documentation |
safe_info
uses tryCatch() to deal with unavailable responseWrap rerddap::info() so that it will fail gracefully
safe_info
uses tryCatch() to deal with unavailable response
safe_info(dataset_id, url = "https://upwell.pfeg.noaa.gov/erddap/")
dataset_id |
ERDDAP dataset_id |
url |
base ERDDAP URL |
If success, dataset information, otherwise message and end
dataInfo <- safe_info('etopo360')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.