Skip to content

News

New code creator

Use our new code creator to extract data from the main Understanding Society dataset. 

Photo of Lego people building a wall

Understanding Society is a large dataset and we know it can be time consuming for users to hone in on the data they need. To help users get started with their research we’ve built a code creator as part of the variable search area on our website. Running the code enables users to extract data from the main end user licence Understanding Society dataset to produce a simple flat data file. To make use of the code creator you should have already downloaded Understanding Society SN6614 from the UK Data Service. 

Using the code creator

To use the code creator, save the variables you are interested in, then click on the ‘build data file’ link to generate your Stata code. Your code is available immediately on the website and can be emailed to you. The code will allow you to create your own data file containing your chosen variables, plus a handy set of commonly used sociodemographic variables and cross-sectional and longitudinal weights. 

You can find the code creator on any of the variables for the main Understanding Society survey. 

Explore the variable search area. 

Let us know what you think

The code creator is currently in a beta version. We are keen to receive feedback on using it and suggestions for future improvements. Please contact us with your comments and suggestions.  

Email newsletter

Sign up to our newsletter