home / cp40x

names

6 rows where case_id = 2334444

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4925611 2334444 2334444 plaintiff Philip John grocer 585869 585869 Philip, John, of London, grocer, on his own account 0
4925612 2334444 2334444 defendant Glover Philip glover 652921 652921 Glover, Philip, of Shrewsbury, Shrops, glover 0
4925613 2334444 2334444 defendant Roper Richard chapman 823032 823032 Roper, Richard, of Pountefrete, Yorks, chapman 1
4925614 2334444 2334444 defendant Blover John chapman 586697 586697 Blover, John, of Shrewsbury, chapman 2
4925615 2334444 2334444 defendant Thorne John clerk 823033 823033 Thorne, John, of Beverley, York, clerk 3
4925616 2334444 2334444 defendant Barlycorn John dyer 609678 609678 Barlycorn, John, of Hytchyn, Herts, dyer 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.548ms