home / cp40x

names

5 rows where case_id = 2373225

✎ 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
5055498 2373225 2373225 plaintiff Brounyng William     Brounyng, William 0
5055499 2373225 2373225 defendant Trompe John maltman 838158 838158 Trompe, John, of Haukeston, Cams, maltman 0
5055500 2373225 2373225 defendant Billowe John yeoman 586033 586033 Billowe, John, of Westminster, yeoman 1
5055501 2373225 2373225 defendant Herford John laborer 841002 841002 Herford, John, of Bernnes, Surrey, laborer 2
5055502 2373225 2373225 defendant Morys John parker 588195 588195 Morys, John, of Worthe, Sussex, parker 3

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 17.227ms