wpRFPMS: Dependences and installation

Suggested citation


Bondarenko M. , Nieves J. J., Stevens F. R., Gaughan A. E., Tatem A. and Sorichetta A. 2020. wpgpRFPMS: Random Forests population modelling R scripts, version 0.1.0. University of Southampton: Southampton, UK. 10.5258/SOTON/WP00665

wpRFPMS script requires the following R packages.

"rgdal"
"randomForest"
"quantregForest"
"foreign"
"snow"
"doParallel"
"gdalUtils"
"jsonlite"
"logging"
"doSNOW"
"RCurl"
"plyr"
"wpgpCovariates"
"wpUtilities"

Most of the above R packages can be installed from the CRAN repository.

wpgpCovariates is an R Package interface used for downloading raster datasets from the WorldPop FTP repository. Installation of wpgpCovariates isn’t available from CRAN yet, but you can install it directly from github with the following code in the R console:

install.packages("devtools")
devtools::install_github("wpgp/wpgpCovariates")

# load package
library(wpgpCovariates)

wpgpUtilities is an R Package interface used for downloading raster datasets from the WorldPop FTP repository. Installation of wpgpCovariates isn’t available from CRAN yet, but you can install it directly from github with the following code in the R console:

install.packages("devtools")
devtools::install_github("wpgp/wpgpUtilities")

# load package
library(wpgpUtilities)