home / cp40x

names

7 rows where case_id = 1957229

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3797863 1957229 1957229 plaintiff Grymston William (legal representative)   Grymston, William, executor of 0
3797864 1957229 1957229 plaintiff Grymston Walter, junior     Grymston, Walter, junior 1
3797865 1957229 1957229 defendant German William husbandman 631001 631001 German, William, of Halsham, Holdernes, husbandman 0
3797866 1957229 1957229 defendant Webster John husbandman 631002 631002 Webster, John, of Tunstall, Holdernes, husbandman 1
3797867 1957229 1957229 defendant Morton Robert weaver 631003 631003 Morton, Robert, of Garton, Holdernes, weaver 2
3797868 1957229 1957229 defendant Pennock John glover 612730 612730 Pennock, John, of Hedon, Holdernes, glover 3
3797869 1957229 1957229 defendant Marche Edward butcher 631004 631004 Marche, Edward, of Owtethorne, Holdernes, 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 14.75ms