home / cp40x

names

6 rows where case_id = 2327507

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4902846 2327507 2327507 plaintiff Brokkeswode Roger (legal representative)   Brokkeswode, Roger, executor of 0
4902847 2327507 2327507 plaintiff Colyere Roger chaplain   Colyere, Roger, chaplain 1
4902848 2327507 2327507 defendant Brewere John husbandman 757174 757174 Brewere, John, of Welynton, husbandman 0
4902849 2327507 2327507 defendant Goodman Richard husbandman 748434 748434 Goodman, Richard, of Wynnesley, husbandman 1
4902850 2327507 2327507 defendant Wotton Richard husbandman 757174 757174 Wotton, Richard, of Welynton, husbandman 2
4902851 2327507 2327507 defendant Meyryk Nicholas husbandman 817055 817055 Meyryk, Nicholas, of Maurdyn, 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 33.805ms