home / cp40x

names

8 rows where case_id = 2449624

✎ 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
5315274 2449624 2449624 plaintiff (not given) Lawrence abbot of Coggeshale Abbey   Coggeshale Abbey, Lawrence, abbot of 0
5315275 2449624 2449624 defendant Sawyn John husbandman 598207 598207 Sawyn, John, of Magna Totham, husbandman 0
5315276 2449624 2449624 defendant Foucher William husbandman 598208 598208 Foucher, William, of Parva Totham, husbandman 1
5315277 2449624 2449624 defendant Rery Thomas husbandman 606406 606406 Rery, Thomas, of Goldanger, husbandman 2
5315278 2449624 2449624 defendant Wellys John husbandman 598208 598208 Wellys, John, of Parva Totham, husbandman 3
5315279 2449624 2449624 defendant Keryoll Robert husbandman 872439 872439 Keryoll, Robert, of Parva Toitham, husbandman 4
5315280 2449624 2449624 defendant Wode John husbandman 606406 606406 Wode, John, of Goldanger, husbandman 5
5315281 2449624 2449624 defendant Badcok Richard husbandman 606406 606406 Badcok, Richard, of Goldanger, husbandman 6

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 22.917ms