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 project

2017 research · VPS execution · SQLite output

From directory pages to structured records Multiple directory pages feed into field extraction, then a structured table and two SQLite datasets. Illustrative workflow.
Illustrative extraction workflow
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.

Structured fields
NameCityPhone
Record 001—••••••••
Record 002—••••••••
Record 003—••••••••
Illustrative, anonymised records

The extraction process

A pipeline built around the source.

  1. Collect URLs

    Build the source list

  2. Follow pages

    Traverse result pagination

  3. Extract fields

    Capture the available details

  4. 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.
What the extraction produced
Directory pages
  • 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.

Need to turn scattered information into usable data?

Tell us about your sources and the questions you need to answer.

Discuss your project