Description Usage Arguments Value Examples
wpgpGetZonalStats function will download a ZonalStats csv
1 2 3 |
ISO3 |
a 3-character country code |
covariate |
Covariate name. |
stat |
Either as character: 'mean', 'min', 'max', 'sum'. |
destDir |
Path to the folder where you want to save ZonalStats file |
username |
ftp username to WorldPop ftp server |
password |
ftp password to WorldPop ftp server |
quiet |
Download Without any messages if TRUE |
overwrite |
Logical. Overwrite the ZonalStats csv file if it already exists |
frCSVDownload |
If TRUE, a new wpgAllCovariates.csv file will downloaded |
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" |
dataframe
1 | wpgpGetZonalStats("AGO","ccilc_dst011_2000", stat = "mean" ,"G:/WorldPop/",username="ftpUsername",password="ftpPassword")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.