Skip to content

srmss/SpatialRegPovertyR

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SpatialRegPovertyR: A Teaching Note on Spatial Regression Analysis Using R

This repository contains the data used in a research note "Spatial Regression Analysis of Poverty in R" (2019) by Kamenetsky, Chi, Wang, and Zhu (Spatial Demography). Supplementary tutorials can be on the GitHub pages site found here.

Due to the size of the shape files, please contact maria.kamenetsky@gmail.com directly for them.

Additionally, we include supplementary code and examples.

Please report any bugs or modifications to issues here

Installation

R version 3.5.2 ("Eggshell Igloo") was used for this analysis.

The packages required for the main analysis are:

  • ggplot2 version 3.1.0
  • rgdal version 1.2-18
  • sp version 1.2-7
  • spdep version 0.8-1
  • ncf version 1.2-5
  • RColorBrewer 1.1-2
  • sf version 0.7-2
  • tidycensus version 0.9
  • dplyr version 0.7.8
  • readr version 1.3.1

For the supplementary examples, you will also need:

  • tmap version 2.2

About

SpatialRegPovertyR: Data and supplemental tutorial for the research note "Spatial Regression Analysis of Poverty in R (2019)".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%