home / cp40x

names

7 rows where case_id = 2271659

✎ 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
4720187 2271659 2271659 plaintiff Brewes John knight   Brewes, John, knight 0
4720188 2271659 2271659 defendant Prat John carpenter 592527 592527 Prat, John, of Stenyng, carpenter 0
4720189 2271659 2271659 defendant Grover Thomas   600121 600121 Grover, Thomas, of Fyndon, park man 1
4720190 2271659 2271659 defendant Threle Richard laborer 790754 790754 Threle, Richard, of Shypple, laborer 2
4720191 2271659 2271659 defendant atte Leghe John weaver 765599 765599 atte Leghe, John, of Hanefeld, weaver 3
4720192 2271659 2271659 defendant Holden Thomas laborer 765599 765599 Holden, Thomas, of Hanefeld, laborer 4
4720193 2271659 2271659 defendant Hemery John laborer 785995 785995 together with Hemery, John, of Westgrensted, laborer 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 14.116ms