wpgpGetPOPTable: wpgpGetPOPTable function will download a population csv

Description Usage Arguments Value Examples

Description

wpgpGetPOPTable function will download a population csv

Usage

1
2
wpgpGetPOPTable(ISO3 = NULL, year = NULL, destDir = tempdir(),
  quiet = TRUE, overwrite = TRUE, method = "auto")

Arguments

ISO3

a 3-character country code

year

Year of the dataset you would like to download.

destDir

Path to the folder where you want to save poptable file

quiet

Download Without any messages if TRUE

overwrite

Logical. Overwrite the poptable csv file if it already exists

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

dataframe

Examples

1
wpgpGetPOPTable("ABW",2000,"E:/WorldPop/")

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