home / cp40x

names

5 rows where case_id = 2365737

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5030310 2365737 2365737 plaintiff Percy William prebendary of Stamylysby, Lincs   Percy, William, prebendary of Stamylysby, Lincs 0
5030311 2365737 2365737 plaintiff Burton William parson of Catton   Burton, William, parson of Catton 1
5030312 2365737 2365737 plaintiff Jamysson Thomas   786803 786803 Jamysson, Thomas, of Creyk, Norf 2
5030313 2365737 2365737 defendant Lorymer William merchant 588384 588384 Lorymer, William, of Barton on Humber, Lincs, merchant 0
5030314 2365737 2365737 defendant Marchall William chapman 590061 590061 Marchall, William, of Barton on Humber, chapman 1

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.281ms