Session 10: Population and Population Change (Session 2)
Session Description
In this lab session, you will continue working on the Population lab notebook. We’ll start with independent work time, and then reconvene for the final 15 minutes of class to debrief.
Before Class
Natalie P. Voorhees Center. (2014). The Socioeconomic Change of Chicago’s Community Areas (1970-2010)
Slides
Other Resources
- The basic functions and use of the
tidycensus
package, including ways to download whole tables, specific variables, and options for shaping how data is downloaded. - The use of several elements from the
stringr
package that help us to search, find, and replace string values case_when()
To conditionally change values in character vectorsrename()
andselect()
to rename columnsbind_rows()
andbind_columns()
to bind together rows or columns- The use of
arrange()
to sort data - More advanced features of the
select()
command, including renaming variables