Remove CanVec Data Files

Description

Deletes files downloaded by canvec.download(). Use all=TRUE to remove the cache directory entirely.

Usage

1
2
canvec.cleanup(ntsid = NULL, cachedir = NULL, all = FALSE,
  keeparchives = FALSE, keepfolders = FALSE)

Arguments

ntsid

One or more NTS References as generated by nts()

cachedir

The same cachedir that was passed to canvec.download()

all

Use all=TRUE to recursively delete the cache directory.

keeparchives

Pass TRUE to keep .zip files downloaded by canvec.download()

keepfolders

Pass TRUE to keep folders extracted by canvec.download()

Examples

1
2
3
4