Data extraction · Research project
From directory pages to structured data.
A week-long extraction operation turned scattered directory information into two queryable SQLite datasets.
Discuss a data project2017 research · VPS execution · SQLite output
- Stored contact rows
- 1.87M
- Directory URL rows
- 963K
- VPS execution
- 1 week
- SQLite output
- 2.24 GB
Stored-row counts; not deduplicated into unique people.
The research objective
The information was online. The dataset wasn’t.
Names, addresses and telephone fields were spread across directory results and paginated pages. The objective was to collect this information in a form that could be queried independently of the website.
The work combined URL collection, page traversal, field extraction and database storage.
| Name | City | Phone |
|---|---|---|
| Record 001 | — | •••••••• |
| Record 002 | — | •••••••• |
| Record 003 | — | •••••••• |
The extraction process
A pipeline built around the source.
Collect URLs
Build the source list
Follow pages
Traverse result pagination
Extract fields
Capture the available details
Store records
Write to SQLite
- Execution
- The collection ran on a VPS over one week.
- Traceability
- Some tables retained source URLs, page information or block identifiers.
The output
Two datasets. Different roles.
- Directory URL index
- 963,207 stored rowsSource addresses and associated name fields.
- Extracted contact records
- 1,870,614 stored rowsNames, address components and telephone fields.
URL index
- Source URL
- Associated names
Structured records
- Names
- Street
- Postcode
- City
- Phone
Two queryable SQLite datasets
What this project shows
Turning web information into usable data.
Collection at scale
A sustained extraction run across directory results.
Structured output
Queryable databases with explicit fields and tables.
Visible evidence
Recorded dataset sizes, schemas and row counts.