This ReadME shows how to the reproduce the results of the analytics use in the geospatial/big data section of the report. Please do the following:
-
Please clone the repository and open up the project within RStudio. Make sure you are in the project environment. This is extremely important. Otherwise you cannot automatically load the user defined functions. You will see the project name in the top right corner of the RStudio window.
-
Please install the R
devtools
package, runinstall.packages("devtools")
-
Run :
devtools::load_all()
function. This will run all the functions in the R folder. -
Now you can execute the script in “inst/scripts/geo_maps_emp.R”.
The final regression models in the study are of the form *_model2.RData
- Apply the
load
function to load the regression objects in the “inst/extdata/*_model2.RData” to see the results