check_connection {geoperu} | R Documentation |
Checks if there is an internet connection with GitHub to download data.
check_connection(
url = paste0("https://raw.githubusercontent.com/PaulESantos/",
"perugeopkg/master/metadata_peru_gpkg.csv"),
silent = FALSE
)
url |
A string with the url address of an perugpkg dataset |
silent |
Logical. Throw a message when silent is |
Logical. TRUE
if url is working, FALSE
if not.