Friday 03 April 2020 Hello, These are the files to produce working-life histories (a sequence of "main activities" from birth to last interview) for participants in the UKHLS and BHPS. Stata .do files to run the code are in the folder "Do Files". Instructions on using the do files are at the end of the report (Report.pdf or Report.docx). Please consult the report before using the files. The report also contains information on questions related to working-life histories in the UKHLS and BHPS. It contains several diagrams, which are stored separately in the "Diagrams" folder. The diagrams were made in draw.io. If you open the diagrams in that software, you will be able to edit them. I will attempt to keep this data collection updated in the event of changes to the code. However, if you want to ensure you are using the latest version, please go to the GitHub repository (https://github.com/ljwright/work-life-histories-ukhls-bhps/). Creating the code was a big task. If you spot any errors or believe some aspect requires further clarification in the documentation, please post an issue at the GitHub repository. Please cite this code if you use it. It is licenced under a CC-BY licence, which means you can reuse and remix the code at leisure - just cite it where used. See the project page on the Open Science Foundation for more information (https://osf.io/c3v9f/). If you use the code, please consider publishing your own code in turn. I have benefitted a lot from seeing other people's code and science is best done openly* (http://dx.doi.org/10.1038/s41562-016-0021). Thanks, Liam * Really, I should have written this code in R as it's open source. I'm sorry for not doing this!