This repository contains data and code to recreate figures and tables presented in the RSA's report State of paralysis: Young people's health and economic security in the UK. This work was funded by The Health Foundation.
The data included in the data
folder come from the Office for National Statistics (ONS), specifically from the Annual Survey for Hours and Earning and from the Young adults living with their parents dataset.
They are included here to make it easier for you to recreate our calculations and plots only; if you are interested in reusing these data for your own purposes, please refer to the Office for National Statistics website.
The links to each of the datasets are provided above.
These datasets have been shared under the Open Government Licence (read the terms).
The raw data (Wealth and Assets Survey Rounds 6 and 7 and Family Resources Survey from 2003-2004 to 2021-2022, obtained from the UK Data Service) are not included here as that would violate the End User Licence of the UK Data Service. For ease of replication of the scripts using these data, users are encouraged to acquire the tab-delimited file versions from the UK Data Service and include it in their project repo.
A complete list of the data we used, along with links and persistent identifiers, can be found in the data-table.md
file.
+---data
| | (data currently included in the repo are all downloaded by scripts and could in principle be deleted; see below for restricted data)
| |
+---figures
| | (figures are all created by the scripts and could in principle be deleted)
| |
+---Python
| | income.html (the content of the Jupyter notebook below in a format that's easy to view on an Internet browser)
| | income.ipynb (Jupyter notebook using Annual Survey for Hours and Earning data to explore wages for young people)
| |
+---R
| | ashe-exploration.R (script using Annual Survey for Hours and Earning data to explore wage growth rates by age group)
| | frs_exploration.R (script using Family Resources Survey data to explore questions around housing for young people)
| | minimum_wage_scraping.R (Scrapes data from https://www.nibusinessinfo.co.uk/content/national-minimum-wage-previous-rates
| | [which is validated against a government source: https://researchbriefings.files.parliament.uk/documents/CBP-7735/CBP-7735.pdf]
| | to explore trends in minimum wage provision from 1999 to 2023.)
| | was_exploration.R (script using Wealth and Assets Survey data to explore questions around debt and financial liabilities for young people)
| |
\---tables
wage_growth_2016-2023.docx (output table comparing wages in 2016 and 2023, and the growth over the period)
To get Family Resources Survey data:
TAB
folder specified in the data-table.md
file from the UK Data Service..zip
folder.FRS_2003-2004
).frs-survey
and place it within the existing data
folder.frs-survey
folder.To get Wealth and Assets Survey data:
TAB
folders for the years listed in the data-table.md
file from the UK Data Service..zip
folder.UKDA-7215-tab
into the existing data
folder.In the end, you should have something like this:
> economic_security
+---data
| | frs-survey
| | | | FRS_2003-2004
| | | | | | UKDA-xxxx-tab
| | | | FRS_2004-2005
| | | | | | UKDA-xxxx-tab
| | | | etc.
| | UKDA-7215-tab
Jolyon Miles-Wilson 💻 📖 |
Eirini Zormpa 📖 💻 |
Celestin Okoroji 📓 |
Oliver 💻 |
kim-bohling 🤔 |
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.