Microdata are small samples of data for whole households and individuals.
Microdata enables researchers to see combinations of information that would not normally be possible from standard census tables.
Microdata files do not contain any information that could identify a person or household.
All our microdata products contain information from the 2011 census in Scotland.
You can also access:
The microdata teaching file contains records for a random anonymous sample of 1% of Scotland’s population.
The teaching file contains less detail than other microdata files. Information is mostly presented at a high level.
Anyone can download and use the teaching file under the Open Government Licence.
Download the microdata teaching file and user guide.
Find out more about how you can use the teaching file in the ONS publication Possibilities for exploring the data.
Secure microdata files
The secure microdata files are 2 random samples of 10% of Scotland’s population. They are available only to approved researchers.
Secure microdata files have the most detail and the largest sample site of any census data products. They are protected by the highest level of access limitation.
The files are anonymous and they do not overlap.
Seucre microdata files include:
- an individual file that includes person-level data on 146 variables for more than 534,000 people
- a household file that includes person and household data on 220 variables for more than 524,000 people from more than 247,000 households
Access the files
To access secure microdata files, you must be approved by the ONS Secure Research Service.
We’re also looking at how we can give researchers secure access to microdata.
Safeguarded microdata files
Safeguarded microdata files contain 2 random samples of 5% of Scotland’s population.
Safeguarded microdata files include:
- a file at Scotland level with 82 variables for more than 267,000 people
- a file at grouped council area level with 75 variables for more than 267,000 people
Access the files
Access the safeguarded microdata through the UK Data Service.
You’ll need to register with the UK Data Service before you can access and download the data.