home / cp40x

names

9 rows where case_id = 1966357

✎ 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
3827155 1966357 1966357 plaintiff Boker Thomas clerk   Boker, Thomas, clerk 0
3827156 1966357 1966357 defendant Dyconson Richard chaplain 635729 635729 Dyconson, Richard, of Bethom, chaplain 0
3827157 1966357 1966357 defendant Wilson Peter husbandman 635730 635730 Wilson, Peter, of Farleton, husbandman 1
3827158 1966357 1966357 defendant Hoten Thomas husbandman 635731 635731 Hoten, Thomas, of Hayle, husbandman 2
3827159 1966357 1966357 defendant Hoton Miles husbandman 635732 635732 Hoton, Miles, of Whasset, husbandman 3
3827160 1966357 1966357 defendant Dowcker Peter husbandman 635732 635732 Dowcker, Peter, of Whasset, husbandman 4
3827161 1966357 1966357 defendant Borowe Edward weaver 635729 635729 Borowe, Edward, of Bethom, weaver 5
3827162 1966357 1966357 defendant Leghton Nicholas husbandman 631655 631655 Leghton, Nicholas, of Leghton, husbandman 6
3827163 1966357 1966357 defendant Cornethwayt John husbandman 635733 635733 Cornethwayt, John, of Ermeshed, husbandman 7

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.615ms