home / cp40x

names

7 rows where case_id = 1967005

✎ 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
3829162 1967005 1967005 plaintiff Courtnall Nicholas     Courtnall, Nicholas 0
3829163 1967005 1967005 plaintiff Fennyng John churchwardens of Somersham   Fennyng, John, churchwardens of Somersham 1
3829164 1967005 1967005 defendant Sparrowe Nicholas smith 585947 585947 Sparrowe, Nicholas, of Hadley, smith 0
3829165 1967005 1967005 defendant Panton Robert husbandman 623743 623743 Panton, Robert, of Offeton, husbandman 1
3829166 1967005 1967005 defendant Crowe Robert husbandman 607205 607205 Crowe, Robert, of Wasshebroke, husbandman 2
3829167 1967005 1967005 defendant Hayward Thomas husbandman 586134 586134 Hayward, Thomas, of Ipswich, husbandman 3
3829168 1967005 1967005 defendant Payn Thomas husbandman 594054 594054 Payn, Thomas, of Barkyng, husbandman 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 14.697ms