home / cp40x

names

9 rows where case_id = 2090558

✎ 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
4185881 2090558 2090558 plaintiff South John gent, attorney   South, John, gent, attorney 0
4185882 2090558 2090558 defendant Empringham Robert   709730 709730 Empringham, Robert, of Magna Grimesbye gent 0
4185883 2090558 2090558 defendant Heyton William gent 710910 710910 Heyton, William, of Hesell, Yorks, gent 1
4185884 2090558 2090558 defendant Grantham Thomas husbandman 710911 710911 Grantham, Thomas, of Waylsbey, husbandman 2
4185885 2090558 2090558 defendant Sowden William draper 710912 710912 Sowden, William, of Markyt Rason, draper 3
4185886 2090558 2090558 defendant Whiteworthe Richard weaver 710913 710913 Whiteworthe, Richard, of Magna Grimesbey, weaver 4
4185887 2090558 2090558 defendant Holland William yeoman 627268 627268 Holland, William, of Lowthe, yeoman 5
4185888 2090558 2090558 defendant Towle John husbandman 618125 618125 Towle, John, of Magna Lymber, husbandman 6
4185889 2090558 2090558 defendant Bartellmell Richard husbandman 710914 710914 Bartellmell, Richard, of Cle, 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.443ms