home / cp40x

names

8 rows where case_id = 2115948

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4258895 2115948 2115948 plaintiff Pillipps William     Pillipps, William 0
4258896 2115948 2115948 defendant Cottingham Miles of Crostwick husbandman   Cottingham, Miles of Crostwick, husbandman 0
4258897 2115948 2115948 defendant Walgrave Lionel thatcher 670004 670004 Walgrave, Lionel, of Crostwick, thatcher 1
4258898 2115948 2115948 defendant Bloome Blithe widow 614571 614571 Bloome, Blithe, of Lamas, widow 2
4258899 2115948 2115948 defendant Kirbie John scrivener 677012 677012 Kirbie, John, of Burneham Markett, scrivener 3
4258900 2115948 2115948 defendant Allexander William yeoman 667000 667000 Allexander, William, of Belowe, yeoman 4
4258901 2115948 2115948 defendant Reymers Henry husbandman 661478 661478 Reymers, Henry, of Frettenham, husbandman 5
4258902 2115948 2115948 defendant Shreve Henry   587672 587672 Shreve, Henry, of Horsted 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 16.777ms