home / cp40x

names

7 rows where case_id = 2219493

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4561329 2219493 2219493 plaintiff Parys Walter clerk   Parys, Walter, clerk 0
4561330 2219493 2219493 defendant Cary Walter   758601 758601 Cary, Walter, of Cherlton Makerell 0
4561331 2219493 2219493 defendant Wilkyns John   758601 758601 Wilkyns, John, of Cherlton Makerell 1
4561332 2219493 2219493 defendant Cole John   600546 600546 Cole, John, of Hurdecote 2
4561333 2219493 2219493 defendant Hayward John, sen   600546 600546 Hayward, John, sen, of Hurdecote 3
4561334 2219493 2219493 defendant Hayward John jun, of Hurdecote   Hayward, John, jun, of Hurdecote 4
4561335 2219493 2219493 defendant Bartelot William   769766 769766 Bartelot, William, of Kenewarston 5

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 14.329ms