home / cp40x

names

7 rows where case_id = 2281967

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4755058 2281967 2281967 plaintiff Arlossh John     Arlossh, John 0
4755059 2281967 2281967 defendant Spittell Richard de   797223 797223 Spittell, Richard de, of Kirkby Thore, Westmorland 0
4755060 2281967 2281967 defendant Chapman William carrier 654047 654047 Chapman, William, of Penrith, carrier 1
4755061 2281967 2281967 defendant (illegible)   shoe maker   _, shoe maker 2
4755062 2281967 2281967 defendant Barton Richard   797224 797224 Barton, Richard, of Warcop, Westmorland, mason 3
4755063 2281967 2281967 defendant (illegible) John     _, John 4
4755064 2281967 2281967 defendant Lech William   797225 797225 Lech, William, of Grayke, Yorks, leach 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 12.759ms