canvec.download: Download and Extract CanVec or CanVec+ Data

Description Usage Arguments Examples

View source: R/canvec.R

Description

Downloads CanVec or CanVec+ data (as applicable) to cachedir and extracts the archive.

Usage

1
2
canvec.download(..., forcedownload = FALSE, forceextract = FALSE,
  extract = TRUE, cachedir = NULL)

Arguments

...

A list of NTS References as generated by nts()

forcedownload

A boolean describing if the file should be re-downloaded, even if already present.

forceextract

Force the exctraction of the archive even if the folder is already present.

extract

Pass extract=FALSE to download the archive without extracting.

cachedir

Pass a specific cache directory in which to download and extract the file. Default value is that returned by canvec.cachedir()

Examples

1

rcanvec documentation built on May 30, 2017, 12:19 a.m.