View source: R/utilMWRhttpgrace.R
utilMWRhttpgrace | R Documentation |
Load external file from remote source, fail gracefully
utilMWRhttpgrace(remote_file)
remote_file |
URL of the external file |
The external file as an RData object
# fails gracefully
utilMWRhttpgrace('http://httpbin.org/status/404')
# imports data or fails gracefully
fl <- 'https://github.com/massbays-tech/MassWateRdata/raw/main/data/streamsMWR.RData'
utilMWRhttpgrace(fl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.