home / cp40x

names

7 rows where case_id = 2018139

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3981471 2018139 2018139 plaintiff Raynoldes John     Raynoldes, John 0
3981472 2018139 2018139 plaintiff Jeames Richard     Jeames, Richard 1
3981473 2018139 2018139 defendant Bowler John yeoman 609465 609465 Bowler, John, of St Katherines, Middx, yeoman 0
3981474 2018139 2018139 defendant Wylson James tailor 666554 666554 Wylson, James, of St Katherines, tailor 1
3981475 2018139 2018139 defendant Hunnyng Robert yeoman 666554 666554 Hunnyng, Robert, of St Katherines, yeoman 2
3981476 2018139 2018139 defendant Nelson William yeoman 666554 666554 Nelson, William, of St Katherines, yeoman 3
3981477 2018139 2018139 defendant Woodwell Richard   666554 666554 Woodwell, Richard, of St Katherines, hat maker 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 14.442ms