home / cp40x

names

6 rows where case_id = 2274602

✎ 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
4730057 2274602 2274602 plaintiff Lumbard alias Clerk John wool monger   Lumbard alias Clerk, John, wool monger 0
4730058 2274602 2274602 defendant Gardyner Robert merchant 590066 590066 Gardyner, Robert, of Bryggewater, merchant 0
4730059 2274602 2274602 defendant Gardyner John merchant 590066 590066 Gardyner, John, of Bryggewater, merchant 1
4730060 2274602 2274602 defendant Bouley Philip husbandman 596518 596518 Bouley, Philip, of Baryngton, husbandman 2
4730061 2274602 2274602 defendant Virgo John sheerman 585996 585996 Virgo, John, of Briggewater, sheerman 3
4730062 2274602 2274602 defendant Chapman John chapman 792515 792515 Chapman, John, of Donyate, chapman 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 5.763ms