Publications by Corey Sparks, PhD

DEM 5093/7093 Point Pattern Analysis

17.03.2021

This example shows how to use R and QGIS from within R to perform a series of common point pattern analysis techniques. library(mapview) library(sf) ## Linking to GEOS 3.8.0, GDAL 3.0.4, PROJ 6.3.1 library(censusxy) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, l...

1267 sym R (11605 sym/55 pcs) 1 img

Analyzing Census Data Using R

18.05.2021

Welcome! Structure of workshop About me Types of census data The Census API Using tidycensus and censusapi to get data on places Using the ipumsr package to get data on people About me I am an associate professor in the UTSA Department of Demography and have been at UTSA since 2006. Research interests include data science, Bayesian methods, ed...

56453 sym R (15821 sym/55 pcs) 9 img 2 tbl

Example HW 1

24.01.2022

Corey Sparks corey.sparks@utsa.edu Use a screen capture tool to take a capture of you R session showing version 4.1.2 Homework 0.1 1) Make sure Rstudio is version 2021.09.2-382.exe, if not, update it 2) Make sure R is version 4.1.2, if not, update it 3) Run the start up script here: https://github.com/coreysparks/Rcode/blob/master/install_fir...

662 sym 1 img

DEM 7283 - Multiple Imputation & Missing Data

29.03.2022

This example will illustrate typical aspects of dealing with missing data. Topics will include: Mean imputation, modal imputation for categorical data, and multiple imputation of complex patterns of missing data. For this example I am using 2020 CDC Behavioral Risk Factor Surveillance System (BRFSS) SMART county data. Link Missing data Ever...

39172 sym R (39703 sym/95 pcs) 10 img

DEM 5093/7093 - Mapping Using the American Community Survey - Change Mapping

10.02.2022

This example will use R to download American Community Survey summary file tables using the tidycensus package. The goal of this example is to illustrate how to download data from the Census API using R, how to create basic descriptive maps of attributes and how to construct a change map between two time periods. The example will use data from Sa...

3186 sym R (15609 sym/45 pcs) 5 img