home / cp40x

names

6 rows where case_id = 2347562

✎ 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
4968555 2347562 2347562 plaintiff Gayler William     Gayler, William 0
4968556 2347562 2347562 defendant Norys Eustace   595939 595939 Norys, Eustace, of Parva Munden, servant 0
4968557 2347562 2347562 defendant atte Hale John brewer 586487 586487 atte Hale, John, of Suthwerk, brewer 1
4968558 2347562 2347562 defendant Norman John husbandman 804341 804341 Norman, John, of Codereth, husbandman 2
4968559 2347562 2347562 defendant Waryn Elias husbandman 595939 595939 Waryn, Elias, of Parva Munden, husbandman 3
4968560 2347562 2347562 defendant Bogge William laborer 608917 608917 Bogge, William, of Yerdeley, 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.74ms