home / cp40x

names

6 rows where case_id = 2389111

✎ 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
5109185 2389111 2389111 plaintiff Fuller John     Fuller, John 0
5109186 2389111 2389111 defendant Prest Richard husbandman 587174 587174 Prest, Richard, of Bryghtlyng, husbandman 0
5109187 2389111 2389111 defendant Monden William yeoman 689106 689106 Monden, William, of Burnham, Norf, yeoman 1
5109188 2389111 2389111 defendant Richard John butcher 794983 794983 Richard, John, of Bydynden, Kent, butcher 2
5109189 2389111 2389111 defendant Tomson John butcher 594048 594048 Tomson, John, of Dover, Kent, butcher 3
5109190 2389111 2389111 defendant Johnson John, junior butcher 585869 585869 Johnson, John, junior, of London, butcher 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 13.678ms