home / cp40x

names

5 rows where case_id = 2054012

✎ 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
4082392 2054012 2054012 plaintiff Alderne John   682199 682199 Alderne, John, of Almelye 0
4082393 2054012 2054012 defendant Gwin John Bevan yeoman 689882 689882 Gwin, John Bevan, of Brilley, yeoman 0
4082394 2054012 2054012 defendant Duppa John gent 668035 668035 Duppa, John, of Whitney, gent 1
4082395 2054012 2054012 defendant Gwin Walter Bevan husbandman 689882 689882 Gwin, Walter Bevan, of Brilley, husbandman 2
4082396 2054012 2054012 defendant Gwin Rice Bevan husbandman 645575 645575 Gwin, Rice Bevan, of Huntington, 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 19.271ms