Skip to contents

Read all text lines from an url.

Usage

read_url(x)

Arguments

x

character string. It should be a complete URL including scheme, as expected in url.

Value

A character vector of length the number of lines read.

Examples

origin = "https://data.cquest.org/registre_parcellaire_graphique/"
year = "2010"
index = read_url(sprintf("%s/%s", origin, year))
if (FALSE) {
origin = "ftp://Admin_Express_ext:Dahnoh0eigheeFok@ftp3.ign.fr/"
index = read_url(origin)
}