Source: 2022 Five-Year American Community Survey.
An exercise to evaluate your ability to produce basic data visualizations in R.
An introduction to data visualization in R.
A demonstration of multiple regression with an interaction, calculated in R
Demo script for generating descriptives and selected graphs.
A quick R script for using GDELT data to compare Trump and Biden coverage volume between two user-customizable dates.
An R script for calculating and mapping division-level population change in the 901 area code (Memphis, Tennessee, with Tipton and Fayette counties), according to the five-year American Community Survey datasets for 2016 and 2021.
his guide can help you decide which statistical procedure to use when your analysis involves one dependent variable and one independent variable, as long as you know which variable is which, and whether each variable is measured categorically or continuously. Once you have settled on a procedure, click the procedure to jump to some code that you can copy into R and run after modifying it to specify the names of the data file and variables involved. You’ll also find links to worked examples for each procedure.
Source: American Community Survey county-subdivision-level population estimates, U.S. Census Bureau.
Source: 2016 and 2021 Five-Year American Community Surveys.
Map Small-Area Fair Market Rent estimates from HUD for a set of user-specified ZIP codes.
Retrieves and maps small-area fair market rent estimates from the U.S. Department of Housing and Urban Development for a user-specified list of ZIP codes and for a user-specified year.
A quick guide to computing selected inferential statistics in R.
This R script will retrieve all 2022 National Bridge Inventory data for Tennessee, filter for bridges in Rutherford County, Tennessee, pare the data to 14 key variables, save the pared dataset locally as a .csv file, then map all bridges in the filtered, pared dataset that have a rating of “Poor.” The script can be modified to work with data from other counties in other states.
Source: 2017-2021 American Community Survey data.
SEC R Workshop Basics.
GDELT Headline Scrape
Use this R script to specify a U.S. county and two mutually exclusive five-year time periods, then extract and map county-division-level variable estimates and error margins for the specified county and time periods from the U.S. Census Bureau API. The script will produce a “slider map” that allows a user to compared data for the two time periods by pulling a horizontal slider bar across the map.
Tract-level population shifts in Rutherford County, Tennessee, 2016 and 2021 5-year ACS.
Demonstration of how to calculate TF-IDF scores for tokenized Twitter content.
A demonstration of how to scrape a Twitter user timeline using the RTweet package.
A map of reported crimes in Metro Nashville, Tennessee, pulled from the Nashville Open Data Portal, https://data.nashville.gov/Police/Metro-Nashville-Police-Department-Incidents/2u6v-ujjs.
An R script for extracting, analyzing, and graphing county-level median rent estimates from the single-year American Community Survey for counties contiguous to Davidson County, Tennessee.
Plotting coverage of "Trump" and "Biden" using GDELT 2.0 API data.
Draft Figure 5
Draft Figure 4
Draft Figure 3
Draft Figure 2
Three distinct, but complementary, R scripts for retrieving and analyzing Twitter content using RTweet version 1.02.
Average weekly COVID-positive patients at Rutherford St. Thomas Hospital, Murfreesboro, Tennessee.
Daily volume of articles mentioning "Peloton," Jan. 1, 2020 to May 15, 2022.
Demo of a Nashville crime map using recent crime data.
A test map using recent Nashville crime data.