Check to see if a given resource is online and accessible over the internet
online(uri, strict = FALSE, timeout = getOption(x = "timeout"))
The URI of a given resource
Ensures the HTTP status code is 200
Timeout in seconds; defaults to the option
“timeout
” (currently set to
60
seconds)
TRUE
if uri
is accessible, otherwise FALSE
This function requires the httr package to be installed