home / cp40x

names

6 rows where case_id = 2445224

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5300874 2445224 2445224 plaintiff Conyer John     Conyer, John 0
5300875 2445224 2445224 defendant Batell John husbandman 587920 587920 Batell, John, of Maldon, husbandman 0
5300876 2445224 2445224 defendant Lytyll John husbandman 606615 606615 Lytyll, John, of Great Dunmowe, husbandman 1
5300877 2445224 2445224 defendant Wylde John laborer 853701 853701 Wylde, John, of Upminister, laborer 2
5300878 2445224 2445224 defendant Salmon John laborer 799339 799339 Salmon, John, of Hornden, laborer 3
5300879 2445224 2445224 defendant Wattys John laborer 870439 870439 Wattys, John, of Styfforde, laborer 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 12.16ms