home / cp40x

names

9 rows where case_id = 1960312

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3807754 1960312 1960312 plaintiff Wygan William rector of West Kyrkby, Wyrall   Wygan, William, rector of West Kyrkby, Wyrall, executors of 0
3807755 1960312 1960312 plaintiff Hawarden Robert monk   (Hawarden, Robert, monk 1
3807756 1960312 1960312 plaintiff Wygan Richard clerk   Wygan, Richard, clerk 2
3807757 1960312 1960312 plaintiff Wethen William     Wethen, William 3
3807758 1960312 1960312 defendant Stanley Henry gent 585869 585869 Stanley, Henry, of London, gent 0
3807759 1960312 1960312 defendant Stanley William gent 585869 585869 Stanley, William, of London, gent 1
3807760 1960312 1960312 defendant Warner John merchant tailor 585869 585869 Warner, John, of London, merchant tailor 2
3807761 1960312 1960312 defendant Lloid Richard clerk 590212 590212 Lloid, Richard, of Dertford, Kent, clerk 3
3807762 1960312 1960312 defendant Gruffith Elias yeoman 588760 588760 Gruffith, Elias, of Dertford, yeoman 4

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 15.651ms