home / cp40x

names

6 rows where case_id = 1915226

✎ 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
3665718 1915226 1915226 plaintiff Sturgeon Henry   585869 585869 Sturgeon, Henry, of London, iron monger 0
3665719 1915226 1915226 defendant Paiet John yeoman 589150 589150 Paiet, John, of Maldon, Essex, yeoman 0
3665720 1915226 1915226 defendant West John sadler 601889 601889 West, John, of Ipswich, Suff, sadler 1
3665721 1915226 1915226 defendant Bruer John smith 604635 604635 Bruer, John, of Takeley, Essex, smith 2
3665722 1915226 1915226 defendant Smythe John smith 606575 606575 Smythe, John, of Ippyng, Essex, smith 3
3665723 1915226 1915226 defendant Bolyngherst William yeoman 606576 606576 Bolyngherst, William, of Puttenham, Surr, 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 9.279ms