home / cp40x

names

6 rows where case_id = 2483314

✎ 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
5427953 2483314 2483314 plaintiff Ferman Henry     Ferman, Henry, on his own account 0
5427954 2483314 2483314 defendant Barnard Stephen gent 656475 656475 Barnard, Stephen, of Thorp by Norwich, gent 0
5427955 2483314 2483314 defendant Foo Richard clerk 656475 656475 Foo, Richard, of Thorp by Norwich, clerk 1
5427956 2483314 2483314 defendant Kebyte Oliver yeoman 590106 590106 Kebyte, Oliver, of South Walsham, yeoman 2
5427957 2483314 2483314 defendant Jelle John husbandman 886494 886494 Jelle, John, of Magna Plumstead, husbandman 3
5427958 2483314 2483314 defendant Hert Richard husbandman 588580 588580 Hert, Richard, of West Walton, 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.271ms