home / cp40x

names

6 rows where case_id = 2346522

✎ 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
4965228 2346522 2346522 plaintiff Cotes Thomas     Cotes, Thomas 0
4965229 2346522 2346522 defendant Langley Robert butcher 686336 686336 Langley, Robert, of Pountefract, butcher 0
4965230 2346522 2346522 defendant Deyde John tailor 816158 816158 Deyde, John, of Neuhall, tailor 1
4965231 2346522 2346522 defendant Grene William yeoman 586093 586093 Grene, William, of Selby, yeoman 2
4965232 2346522 2346522 defendant Thomson John fissher 590484 590484 Thomson, John, of Watton, fissher 3
4965233 2346522 2346522 defendant Towethorp William butcher 586067 586067 Towethorp, William, of York, butcher 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 7.787ms