home / cp40x

names

8 rows where case_id = 2021806

✎ 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
3991747 2021806 2021806 plaintiff Brooke Francis     Brooke, Francis 0
3991748 2021806 2021806 defendant Jaundrell John yeoman 669052 669052 Jaundrell, John, of Powderbatche, yeoman 0
3991749 2021806 2021806 defendant Gyttyns Reginald Powderbatche, miller   Gyttyns, Reginald, Powderbatche, miller 1
3991750 2021806 2021806 defendant Dunne Lewis husbandman 591227 591227 Dunne, Lewis, of Hope Bowdler, husbandman 2
3991751 2021806 2021806 defendant Evans Thomas laborer 669082 669082 Evans, Thomas, of Ookes, laborer 3
3991752 2021806 2021806 defendant Davys Thomas laborer 620634 620634 Davys, Thomas, of Wrentnall, laborer 4
3991753 2021806 2021806 defendant Pytt Humphrey laborer 625032 625032 Pytt, Humphrey, of Ponsbury, laborer 5
3991754 2021806 2021806 defendant Heyghwey Richard laborer 625032 625032 Heyghwey, Richard, of Ponsbury, laborer 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 13.405ms