wpgpGetCountryDataset: wpgpGetCountryDataset function will download files and return...

Description Usage Arguments Value Examples

Description

wpgpGetCountryDataset function will download files and return a path to downloaded file

Usage

1
2
wpgpGetCountryDataset(ISO3 = NULL, covariate = NULL,
  destDir = tempdir(), quiet = TRUE, method = "auto")

Arguments

ISO3

a 3-character country code or vector of country codes. Optional if df.user supplied

covariate

Covariate name(s). Optional if df.user supplied

destDir

Path to the folder where you want to save raster file

quiet

Download Without any messages if TRUE

method

Method to be used for downloading files. Current download methods are "internal", "wininet" (Windows only) "libcurl", "wget" and "curl", and there is a value "auto"

Value

String of file downloaded, including file paths

Examples

1
wpgpGetCountryDataset('NPL','ppp_2000','E:/WorldPop/')

wpgp/wpgpDownloadR documentation built on May 31, 2019, 5:43 a.m.