Building a Public Job Listings Dataset for Labor Market Analysis
Scroll a job board for ten minutes and the pay gaps jump out. A data analyst role in Leeds might list £32,000, and a near-identical one in London £48,000. Labor market research often starts with exactly that kind of hunch, since job ads show what employers want this week, not last year.
Official statistics are useful, but they usually arrive weeks later and rarely say which skills are showing up in ads this quarter.
So analysts, economists and HR teams often build their own dataset from public listings with the help of residential proxies, which is pretty doable if you plan it well and keep the collection polite and legal.
Deciding what you want to measure
Write the research questions down first. Tracking how often SQL turns up in data analyst ads needs the full description text. A question about pay transparency laws needs salary fields and posting dates instead, so the list of questions decides what gets stored.
Most projects end up storing the job title, employer, location, posting date, salary range when it’s listed, and the full description text. Keeping the raw description is usually worth the extra storage because you’ll probably want to run new keyword searches on it later. Listing your target cities now also tells you which proxy locations you’ll need.
Collecting listings at a steady pace
Search for nurse roles from London and then from Manchester, and the two result pages won’t match, since job boards rank and filter by the visitor’s location. For a study that compares regions, each page has to load as it would for someone living there. Many teams route those requests through a real residential proxy in each city for that reason.
Check the terms of use and the robots.txt file on every site before the first request. If robots.txt is new to you, Google has a short guide to robots.txt worth ten minutes.
A crawler that hammers a job board during the morning rush slows it down for actual job seekers. A few requests a minute, spread over the day, is plenty for research. Some boards also run partner APIs or data feeds, and where one exists it’s the better option.
Cleaning the data so it’s usable
Raw listings are messy, and you’ll find the same job posted by a recruiter, the employer and two aggregator sites, often with slightly different titles. Deduplication is probably the step that takes the most time, and a simple approach is to compare employer, location and a hash of the first few hundred characters of the description.
Job titles need normalizing too, because “Sr. Software Eng.” and “Senior Software Engineer” mean the same thing to a person but not to a spreadsheet. A lot of researchers map titles to the Standard Occupational Classification used in the United States, which makes it much easier to compare your numbers with government data.
Then there’s pay, where one ad says £14.50 an hour, the next says £28k to £34k and a third just says “competitive”. Pick annual pay as the unit, convert the rest, and flag ads with no figure at all. It also pays to log which proxy city fetched each page, since odd regional numbers can then be traced.
Checking your results against official figures
Online ads miss a lot of hiring, because construction firms and restaurants still fill plenty of roles by word of mouth, so a scraped dataset will lean toward office and tech work. Say that clearly in any write-up. And if one region suddenly looks quiet, look at the proxy logs for that city before calling it a hiring slowdown.
For US data, line your monthly totals up against the Bureau of Labor Statistics’ Job Openings and Labor Turnover Survey release. The two won’t match exactly. If they rise and fall together, though, the dataset is tracking the market and not just a redesign on one job site.
You should also strip out personal details that slip into descriptions, like a recruiter’s direct phone number, since the research only needs the job itself and extra personal data just adds risk.
Keeping the dataset useful over time
After the first month, the hard part is not changing things: same sources, same schedule, same proxy locations. When something does change, like a new board added or a city dropped, note the date in a simple changelog file. A year later that file explains the odd jumps in the charts.
It’s a slow project at first. But after a few months of steady collection you’ll probably have a dataset that answers questions official statistics can’t, and that’s usually enough to make the effort worthwhile.