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 internet connection to Ipea server to download r5r data.

Usage

check_connection(
  file_url = "https://www.ipea.gov.br/geobr/metadata/metadata_gpkg.csv"
)

Arguments

file_url

A string with the file_url address of an geobr dataset

Value

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

See Also

Other support functions: fileurl_from_metadata(), stop_r5()


r5r documentation built on Aug. 8, 2023, 9:07 a.m.