Where to Find London Data for a Dissertation: London Datastore, TfL API and ONS

You’ll find most London data for a dissertation in three places. Use the London Datastore for downloadable files on city topics, the Transport for London (TfL) API for transport information, and the Office for National Statistics (ONS) with its Nomis service for Census and labour market figures. All three offer open data you can get without paying, but each has its own rules, dates and limits.
So which one do you need? That depends on your research question, not on which website you stumbled across first.
London Datastore
Best when you want a ready-made file about housing, the economy, health, planning or the environment in London.
TfL open data and API
Best when your question is about lines, stops, journeys, cycling or disruption, especially if you need to collect readings over time.
ONS and Nomis
Best when you’re comparing who lives in different boroughs or neighbourhoods, or looking at work and qualifications.
How do I download data from the London Datastore?
The London Datastore is the Greater London Authority’s data-sharing site. Its guidance says it hosts over 900 open datasets, and you don’t need an account to search for or download the open ones.
- Search for the thing you want to measure. Try “private rents”, “cycle hires” or “air quality” instead of typing your whole dissertation title.
- Filter by topic or publisher. This helps when a search throws up pages of near matches.
- Read the dataset page before you click download. Look for the author, licence, last update, period covered and smallest geography.
- Pick your file. Most resources are XLS or CSV, with some shapefiles for GIS work, plus PDF reports and online tools.
- Keep the original untouched. Do your cleaning in a copy and note every change.
Not everything sits on the Datastore itself, as some entries only link to another source. Some data is also restricted, so you’d need an account and the owner’s permission. The official page on finding and accessing London Datastore files explains the difference.
What is the Data for London Library, and has it replaced the Datastore?
The Data for London Library is a search tool the Mayor’s programme launched in beta in 2025. It covers all London Datastore data, plus data from several boroughs and delivery partners. Some launch coverage called it a replacement, but the London Datastore home page says the Datastore will remain a trusted data resource while further parts of the programme are built.
Our advice is simple. Search the Data for London Library to discover what exists, then cite the page and publisher you actually took the file from.
How do I use the TfL API for dissertation research?
An API lets your code or browser ask TfL for specific information and get a structured reply, usually in a format called JSON. You can try it without a key, but anonymous access is limited to 50 requests a minute.
How do I get a TfL API key?
- Create an account on the TfL API portal products page and sign in.
- Open Products and choose the 500 requests a minute product.
- Give your subscription a name, such as your project title, and subscribe.
- Find your key in your profile and add it to requests as
app_key. Older guides mention an app ID too, but TfL staff have said it’s no longer needed. - Keep the key private. Don’t paste it into your appendix or a public code repository.
Here’s a small Python example. It asks for the current Victoria line status and adds one timestamped row to a CSV file each time you run it.
import csv
from datetime import datetime, timezone
import requests
url = "https://api.tfl.gov.uk/Line/victoria/Status"
response = requests.get(url, params={"app_key": "YOUR_KEY"}, timeout=30)
response.raise_for_status()
line = response.json()[0]
with open("victoria_status.csv", "a", newline="") as file:
writer = csv.writer(file)
for status in line["lineStatuses"]:
writer.writerow([
datetime.now(timezone.utc).isoformat(),
line["name"],
status["statusSeverityDescription"],
])Notice what this means for your timeline. A live status call tells you what’s happening now. If your study needs six weeks of readings, you’ll have to start collecting at least six weeks before your analysis begins, and you should record any gaps.
Do I even need the API, or can I download a file?
Often a file is the better choice. If you can’t code, or you need past years, check these first.
| What you want | Where to look | What to watch |
|---|---|---|
| Typical rail and Tube demand by station and time of day | TfL’s NUMBAT dataset, available from 2016 | It models a typical autumn day, so it isn’t a full-year total |
| Daily entries and exits at stations | Station footfall files on TfL’s crowding data site | Tap counts aren’t the same as unique passengers |
| Total Santander Cycles hires by day | Daily cycle hire totals on the London Datastore | Totals don’t tell you who rode or why |
| Live arrivals, line status or docking station availability | TfL API | You collect the history yourself |
Is TfL open data free to use in a dissertation?
Yes, TfL’s data service is royalty-free, but it comes with conditions. The TfL transport data licence terms are based on version 2.0 of the Open Government Licence with TfL’s own changes. You need to include “Powered by TfL Open Data”, add the Ordnance Survey and Geomni credits where that content applies, and stay within 500 calls per minute for each data feed.
The licence doesn’t let you imply TfL endorses your work. It also restricts scraping or automated collection from the Oyster, Congestion Charging and Santander Cycles websites unless TfL agrees in writing. Use the open data feeds and files instead.
Where can I find London borough statistics from ONS and Nomis?
For a quick picture, start with the ONS local statistics page for London. For tables you can analyse, go to Census 2021 tables on Nomis, which is an ONS service.
- Choose a table. Examples include age by single year (TS007), country of birth (TS012) and method used to travel to work (TS061).
- Choose your geography. Select London boroughs or smaller areas inside them.
- Choose counts or percentages. Percentages usually make boroughs of different sizes easier to compare.
- Download and label the file. Write down the table code, geography and date.
Borough, MSOA or LSOA: which level should I pick?
| Level | Rough size in Census 2021 terms | Good for |
|---|---|---|
| London region | The whole city | Setting the wider picture |
| Borough (local authority) | 32 boroughs, with the City of London usually listed alongside them | Policy and service comparisons |
| MSOA | 5,000 to 15,000 usual residents | Neighbourhood patterns with fewer very small counts |
| LSOA | 1,000 to 3,000 usual residents | Detailed mapping and deprivation work |
| Output Area | 100 to 625 usual residents | Very local questions, with less detail available |
These sizes come from the ONS area type definitions. Don’t mix levels in one comparison, and check whether an older dataset uses 2011 boundaries while your Census table uses 2021 ones.
Can I rely on Census 2021 for my topic?
Mostly it’s a rich source, but it was taken on 21 March 2021, during the pandemic. ONS flags where the pandemic is likely to have affected Census results: where people were living, students, international migration, the labour market, and travel to work. If you’re writing about London commuting, that’s a serious limitation, not a footnote.
Need newer employment or qualification figures? Nomis also carries the Annual Population Survey at borough level and above, updated quarterly. It’s a survey, so report the confidence intervals. A small gap between two boroughs may not mean much.
Which other London datasets suit my subject?
The ideas and research questions below are our own illustrations. Test each one against the literature and your marking criteria, and agree it with your supervisor.
| Subject and source | Narrowed research idea | Possible research question |
|---|---|---|
| Housing or economics: UK House Price Index on the Datastore | Price change in inner and outer boroughs | How did average house price trends differ between selected inner and outer London boroughs from 2019 to 2025? |
| Environment: London Atmospheric Emissions Inventory (LAEI) 2022 | Road transport emissions by borough | How did estimated road transport NOx emissions differ across London boroughs between 2019 and 2022? |
| Criminology: street-level crime files from data.police.uk | Recorded theft around town centres | How did recorded theft vary by month across LSOAs in one London town centre during 2025? |
| Public health: OHID Fingertips profiles | Borough inequality in one health indicator | How is borough deprivation associated with childhood obesity prevalence in London? |
| Urban planning: Planning London Datahub | Permitted and completed homes | How do completion rates for permitted homes differ between two London boroughs? |
| Sociology: Census 2021 on Nomis | Private renting and household type | How does the share of privately renting households vary with household composition across London boroughs? |
Three warnings before you fall in love with one. Police.uk locations are approximate, not the exact spot of a crime. LAEI figures are modelled estimates, and the emission datasets were revised in May 2026, so use the latest files. Some Datastore house price files haven’t been updated since 2018, even though a newer index sits nearby.
Want more angles to test? Have a look through our urban planning topic ideas, criminology research topics or public health nursing topics. If you can’t find a survey or interview dataset that fits, the UK Data Service student guide to finding data is worth your time. Many of its datasets need registration, and UK students can use their university login.
What would a London secondary data project look like?
Here’s one worked through. It’s a plan to learn from, not a set of results.
Narrowed idea: weekday and weekend use of Santander Cycles before and after the pandemic.
Research question: How did the difference between average weekday and weekend daily Santander Cycles hires change between 2019 and 2025?
- Download. Get the daily hires file from the Datastore. When we checked, it ran from the July 2010 launch to October 2026, was updated monthly and listed the Open Government Licence v2.
- Filter. Keep 2019 and 2025, so you’re comparing two complete calendar years.
- Create variables. Add year, month, weekday or weekend, and a bank holiday flag.
- Describe. Report means or medians, spread and a monthly line chart before any test.
- Analyse. A regression with a year and day-type interaction is one option. Daily observations follow on from each other, so check that assumption and consider time series methods.
- Limit your claim. You can describe a change in the pattern. You can’t prove the pandemic caused it, because weather, prices, the docking network and travel habits may all have changed.
If choosing or checking the test is the sticking point, our statistics support for dissertation students covers exactly that stage.
How do I check a London dataset before I commit?
- Producer. Who collected it, and for what purpose?
- Dates. Which period does it describe, and when was it last revised?
- Coverage. Which places, people or cases are missing?
- Definitions. Do your two sources count the same thing?
- Method. Is it a count, a survey estimate, a model or a forecast?
- Licence. Can you reuse it, and what wording must you include?
Here’s a quick example. The British Transport Police supplies crime data to police.uk but not outcome data. If you’re studying what happened after offences on the rail network, that gap could sink your question.
Do I need ethical approval for London open data?
It depends on your university, and “it’s public” isn’t a safe answer. LSE’s guidance says research using only publicly available archival records doesn’t need ethics review unless other ethical issues arise. By contrast, UCL Institute of Archaeology’s ethical clearance guidance says approval is required for secondary datasets in research involving human participants.
Check your own department’s form early. Combining small-area files can also make people easier to identify, so mention how you’ll prevent that.
How do I write about and reference London data?
Your methodology chapter should say why you chose the source, what one row represents, which period and geography you used, how you cleaned it and what it can’t show. Our guide to writing a dissertation methodology chapter walks through the wider structure.
For Harvard, follow your handbook first. The UCL Harvard example for datasets uses author, date, title, a link or DOI, and an access date when there’s no DOI. Applied to the cycle hire file, it could look like this:
Transport for London (2026) ‘Number of Bicycle Hires’. Available at: https://data.london.gov.uk/dataset/number-of-bicycle-hires-2r84d (Accessed: 3 December 2026).
Use your own access date. A reference tells your marker what you used. An attribution statement meets the licence. You may need both, and licences differ: the cycle hire page lists OGL v2, LAEI 2022 lists OGL v3, data.police.uk uses OGL v3, and TfL’s data service has its own terms.
Comparing the capital with the North West? Our guide to finding open data for Greater Manchester shows where those sources differ.
Frequently asked questions about London dissertation data
Is the London Datastore free for students?
Yes, open datasets on the London Datastore are free to access, use and share, and you don’t need an account. Some non-open data is restricted, and each dataset’s own licence still decides how you can reuse and credit it.
Can I use the TfL API without a key?
Yes, you can make anonymous requests, but TfL limits them to 50 a minute. Registering on its API portal and subscribing to the 500 requests a minute product gives you a key, which is the sensible choice for repeated data collection.
Can I use ONS data in my dissertation?
Yes, ONS and Nomis publish Census and labour market statistics that students commonly analyse as secondary data. Record the table code, geography and reference date, acknowledge the source, and explain any quality warnings that affect your particular variables.
What’s the difference between ONS and Nomis?
ONS is the UK’s national statistics producer, while Nomis is its service for querying and downloading detailed population, Census and labour market tables. You’ll usually read the background on the ONS site and build your borough or neighbourhood table in Nomis.
Do I need to know Python to use London data?
No, many London Datastore and Nomis tables download as spreadsheet or CSV files that open in Excel or SPSS. Coding becomes useful when you need repeated TfL API readings, very large files or an analysis you can rerun exactly.
Can a whole dissertation use secondary data?
Often it can, provided your course allows a secondary research design and the data genuinely answers your question. You’ll still need a clear rationale, a transparent analysis and an honest discussion of limitations, so confirm the plan with your supervisor.
What should I do next?
Pick one dataset today and write down its publisher, licence, period, geography and what a single row means. If you can fill in all five, you’ve got something solid to take to your supervisor. If you’re still stuck on the question itself, start with how to choose a dissertation topic.
Studying in the capital and not sure your data can carry your question? See how our dissertation help for London students works, get support with your research design, or send us your research question on WhatsApp. You can also see what else we cover through OnlineDissertationHelp.


