home / cp40x

names

8 rows where case_id = 1980072

✎ 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
3869597 1980072 1980072 plaintiff Warrelowe John     Warrelowe, John 0
3869598 1980072 1980072 plaintiff Amery Edward     Amery, Edward 1
3869599 1980072 1980072 plaintiff Wall Edward churchwardens of Delverne   Wall, Edward, churchwardens of Delverne 2
3869600 1980072 1980072 defendant Heyley Thomas yeoman 598341 598341 Heyley, Thomas, of Penkull, yeoman 0
3869601 1980072 1980072 defendant Egge John yeoman 608104 608104 Egge, John, of Bloxwyche, yeoman 1
3869602 1980072 1980072 defendant Pakman Richard husbandman 620298 620298 Pakman, Richard, of Fossebroke, husbandman 2
3869603 1980072 1980072 defendant Wodroff Roger yeoman 642721 642721 Wodroff, Roger, of Spenkull, Derbs, yeoman 3
3869604 1980072 1980072 defendant Hewell Richard yeoman 642722 642722 Hewell, Richard, of Kenwalmarsshe, Derbs, yeoman 4

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.651ms