This Rproject contains the scripts and data necessary to produce the following employment-related indicators for Lambeth:
- Employment rate
- Unemployment rate
- Employment by industry and ethnicity
- Employment by occupation and ethnicity
In addition, the project provides an analysis of employment in Lambeth since April 2015.
RStudio is required to open and run the script. This project was produced using
- RStudio 2021.09.0 Build 351 "Ghost Orchid"
- R version 4.1.1
The script uses the following R packages. These need to be installed using install.packages("package name") if they are not already installed on your system.
- gmodels
- tidyverse
- ggrepel
- epitools
- ggrepel
employment_indicators.Rproj: Project file.
data/employment_rate_to_jun_21.csv: Employment rate data
data/unemployment_rate_to_jun_21.csv: Unemployment rate data
data/industry_by_ethnicity_to_jun_21.csv: Industry by ethnicity data
data/occupation_by_ethnicity_to_jun_21.csv: Occupation by ethnicity data
data/employment_data.csv: Processed employment rate for reference/tables etc.
data/unemployment_data.csv: Processed unemployment rate for reference/tables etc.
data/occupation_data.csv: Processed employment by occupation by ethnicity for reference/tables etc.
data/industry_data.csv: Processed employment by industry by ethnicity for reference/tables etc.
data/industry_ethnicity_longitudinal.csv: Processed employment by industry by ethnicicity since 2015.
data/industry_ethnicity_longitudinal.csv: Processed employment by industry by ethnicicity since 2015.
data/occupation_by_ethnicity_long_2.csv: Processed employment by occupation by ethnicicity since 2015.
scripts/analysis.Rmd: Script for processing and analysing data.
scripts/analysis.pdf: Knitted pdf markdown file generated by above script.
scripts/longitudinal_employment_v4.Rmd: Analysis script for longitudinal analysis.
scripts/longitudinal_employment_v4.pdf: Knitted pdf markdown file generated by above script.
images/btg_logo.png: Black Thrive logo
Once downloaded, unzip to a destination of your choice. Be sure to retain the original folder structure.
Use employment_indicators.Rproj to open project.
To load the analysis script, use File > Open File, navigate to the scripts folder, and select analysis.Rmd, or scripts/longitudinal_employment_v4.Rmd. To run the script, select Run > Run all (Ctrl + Alt + R [Windows]; Cmd + Option + R[Mac]).
If you just want to view the knitted markdowns, using your system file navigator navigate to the scripts folder and open analysis.pdf or longitudinal_employment_v4.pdf.
If you have any questions, comments, or feedback please contact the Research Team at Black Thrive: research@blackthrive.org, FAO Jolyon Miles-Wilson.