check_connection: Check internet connection with Ipea server

View source: R/utils.R

check_connectionR Documentation

Check internet connection with Ipea server

Description

Checks if there is an internet connection with Ipea server to download aop data.

Usage

check_connection(
  url = "https://www.ipea.gov.br/geobr/metadata/metadata_gpkg.csv",
  silent = FALSE
)

Arguments

url

A string with the url address of an aop dataset

silent

Logical. Throw a message when silent is FALSE (default)

Value

Logical. TRUE if url is working, FALSE if not.


geobr documentation built on Aug. 16, 2022, 9:05 a.m.