home / cp40x

names

7 rows where case_id = 2472765

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5391913 2472765 2472765 plaintiff Raynold John     Raynold, John 0
5391914 2472765 2472765 defendant Sturgyn Thomas   790661 790661 Sturgyn, Thomas, of Haveryng atte Bowre 0
5391915 2472765 2472765 defendant Spencer John mariner 591721 591721 Spencer, John, of Alvetheley, mariner 1
5391916 2472765 2472765 defendant Brokeman John yeoman 629811 629811 Brokeman, John, of West Horok, yeoman 2
5391917 2472765 2472765 defendant Thurgood William husbandman 607540 607540 Thurgood, William, of Mokkyng, husbandman 3
5391918 2472765 2472765 defendant Wellys Thomas (legal representative) 607540 607540 Wellys, Thomas, of Mokkyng, executrix of 4
5391919 2472765 2472765 defendant Wellys Alice     Wellys, Alice(? 5

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