home / cp40x

names

6 rows where case_id = 2298694

✎ 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
4808038 2298694 2298694 plaintiff Cosour alias Speed Walter   760472 760472 Cosour alias Speed, Walter, of Pertenale, on his own account 0
4808039 2298694 2298694 defendant Bawdewyn William husbandman 681916 681916 Bawdewyn, William, of Berkford, husbandman 0
4808040 2298694 2298694 defendant Smyth John husbandman 769739 769739 Smyth, John, of Sharnebrook, husbandman 1
4808041 2298694 2298694 defendant Ley John husbandman 767877 767877 Ley, John, of Bletnesho, husbandman 2
4808042 2298694 2298694 defendant (not given) Walter vicar of Caysho   Caysho, Walter, vicar of 3
4808043 2298694 2298694 defendant Cawet John husbandman 805254 805254 Cawet, John, of Milton Harveys or Ernest, 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 7.265ms