home / cp40x

names

6 rows where case_id = 2373718

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5057142 2373718 2373718 plaintiff Clopton John esq   Clopton, John, esq 0
5057143 2373718 2373718 plaintiff Turnour Henry gent   Turnour, Henry, gent 1
5057144 2373718 2373718 defendant Bunne John yeoman 606657 606657 Bunne, John, of Bynham, yeoman 0
5057145 2373718 2373718 defendant Perot John yeoman 611918 611918 Perot, John, of Holte, yeoman 1
5057146 2373718 2373718 defendant Glaveyn John husbandman 607836 607836 Glaveyn, John, of Sloley, husbandman 2
5057147 2373718 2373718 defendant Glaveyn Walter husbandman 607836 607836 Glaveyn, Walter, of Sloley, husbandman 3

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 11.914ms