home / cp40x

names

8 rows where case_id = 2348781

✎ 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
4972731 2348781 2348781 plaintiff Lacy John abbot of Torre Abbey   Lacy, John, abbot of Torre Abbey 0
4972732 2348781 2348781 defendant Lester William butcher 778684 778684 Lester, William, of Blakaueton, butcher 0
4972733 2348781 2348781 defendant Wakham John husbandman 778684 778684 Wakham, John, of Blakaueton, husbandman 1
4972734 2348781 2348781 defendant Roland Thomas husbandman 778684 778684 Roland, Thomas, of Blakaueton, husbandman 2
4972735 2348781 2348781 defendant Oldeston Andrew husbandman 778684 778684 Oldeston, Andrew, of Blakaueton, husbandman 3
4972736 2348781 2348781 defendant Cole William husbandman 778684 778684 Cole, William, of Blakaueton, husbandman 4
4972737 2348781 2348781 defendant Wallyng Richard husbandman 778684 778684 Wallyng, Richard, of Blakaueton, husbandman 5
4972738 2348781 2348781 defendant Bodygode William husbandman 829146 829146 Bodygode, William, of Dytesham, 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 18.923ms