home / cp40x

names

7 rows where case_id = 2345557

✎ 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
4962042 2345557 2345557 plaintiff Braytoft John (legal representative) 586117 586117 Braytoft, John, of Coventry, mercer, executor of 0
4962043 2345557 2345557 plaintiff Braytoft William     Braytoft, William 1
4962044 2345557 2345557 defendant Roger Robert chapman 827854 827854 Roger, Robert, of Slaughter juxta Stowe, Glos, chapman 0
4962045 2345557 2345557 defendant Holme John chapman 827855 827855 Holme, John, of Racford, Notts, chapman 1
4962046 2345557 2345557 defendant Whitgreve William mercer 587516 587516 Whitgreve, William, of Stafford, mercer 2
4962047 2345557 2345557 defendant Straungeman Robert chapman 827856 827856 Straungeman, Robert, of Immyngham, Lincs, chapman 3
4962048 2345557 2345557 defendant Carlele Richard chapman 596157 596157 Carlele, Richard, of Newerke, Notts, chapman 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 9.721ms