Skip to contents

Function used to downlaod Admin Express archives. The function has preset options for its use with IGN website and data.cquest.org.

Usage

download_admin_express(
  destination,
  origin = c("ign", "cquest"),
  name = c("ADMIN-EXPRESS-COG", "ADMIN-EXPRESS", "ADMIN-EXPRESS-COG-CARTO"),
  extension = "7z",
  date = "last",
  version = NULL,
  verbose = TRUE
)

Arguments

destination

character, the address where dara are stocked.

origin

character, a keyword or the address from where data are downloaded.

name

character, vector of acceptable names fo archive to be downloaded.

extension

character, vector of acceptable types of archive to be downloaded.

date

character, date of the archive to be downloaded.

version

string, version of Admin Express to be downloaded.

verbose

logical, should the function send some messages while running.

Value

nothing

Details

If origin == "ign", origin is set to "https://geoservices.ign.fr/adminexpress"

If origin == "cquest", origin is set to "https://data.cquest.org/ign/adminexpress"

Examples

if (FALSE) {
destination = tempdir()
download_admin_express(destination, version = "MYT")
unlink(destination)
}