Function used to downlaod ADMIN EXPRESS

download.admin_express(
  destination,
  origin = "IGN",
  name = NULL,
  extension = NULL,
  date = NULL,
  version = NULL,
  verbose = TRUE
)

Arguments

destination

character, the address where dara are stocked.

origin

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

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", then all necessary variables are filled with those values:

  • origin is changed to ftp://Admin_Express_ext:Dahnoh0eigheeFok@ftp3.ign.fr

  • name default value is changed to "ADMIN-EXPRESS"

  • extension default value is changed to "7z.001"

  • date default value is changed to "last"

  • version default value is changed to "WM"

If not, everything shall be filled so that download_archive can make a successful download.

Examples

if (FALSE) {
destination = tempdir()
download.admin_express(destination)

unlink(destination)
}