Skip to content

angela-li/r-learning-group

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R Learning Group at Chi Hack Night

This repository contains all scripts written during Chi Hack Night in the R Learning Group. We meet on Tuesday nights at Merchandise Mart, and I encourage you to come to a session! (There are great weekly speakers, but the breakout groups start around 7:30pm if you want to strategically time your arrival.) In any case, you can register for Chi Hack Night here.

This group is currently organized by Angela Li, R Spatial Advocate at the Center for Spatial Data Science at UChicago. I also founded R-Ladies Chicago and love R!

Structure

In general, we start with a dataset found on the Chicago Data Portal. We then import, manipulate, and visualize it using R. The focus is often on using the tidyverse to teach a quick data workflow. Learn more about this suite of packages in the free R for Data Science book.

Contents

Date What we did R Script
2019-02-26 Import business licenses data, clean it with janitor, convert it into an sf object, make a leaflet map 2019-02-26_business-licenses.R
2019-01-22 Import Illinois Traffic Stop data metrics (mentioned in the night's talk, video here), check for missingness using naniar, select variables with dplyr 2019-01-22_traffic-stops.R
2019-01-08 Look at Chicago police stop data, use dplyr to clean data and look at racial breakdowns of stops (statistic briefly mentioned in the night's talk on the Vote Equity project here) 2019-01-08_police-stops.R
2018-12-11 Import Chicago fire station location data as a GeoJSON with sf and make a leaflet map with it 2018-12-11_firestations.R
2018-12-04 Import Chicago public salary data with RSocrata, look at top salaries (in aggregate and by department) with dplyr, make a histogram of median salaries by department with ggplot2 2018-12-04_salaries.R
2018-10-30 Import affordable housing data (csv downloaded from Chicago Data Portal), do some basic data manipulation with dplyr, make a map with leaflet 2018-10-30_housing.R
2018-10-23 Walked through the starwars dataset in dplyr, familiarized ourselves with RStudio and R, did some data manipulation, and made one or two plots in ggplot2 2018-10-23_starwars.R

Resources

Contact Me

Have questions about R? Submit an issue in this repository or send me an email at ali6@uchicago.edu. Or reach out via Twitter @CivicAngela.

About

Repository to document topics we cover at the R Learning Group at Chi Hack Night

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages