home / cp40x

names

7 rows where case_id = 2506389

✎ 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
5504699 2506389 2506389 plaintiff Bank Richard   603230 603230 Bank, Richard, of Ricall 0
5504700 2506389 2506389 defendant Bredkyrk Lawrence gent 894246 894246 Bredkyrk, Lawrence, of Newlalde, gent 0
5504701 2506389 2506389 defendant Crosby William yeoman 894247 894247 Crosby, William, of Bronflete juxta Humber, yeoman 1
5504702 2506389 2506389 defendant Warde Anthony gent 632496 632496 Warde, Anthony, of Wresyll, gent 2
5504703 2506389 2506389 defendant Clerk William butcher 894248 894248 Clerk, William, of Wrisyll, butcher 3
5504704 2506389 2506389 defendant Medlem John yeoman 894248 894248 Medlem, John, of Wrisyll, yeoman 4
5504705 2506389 2506389 defendant Studarde Richard yeoman 762376 762376 Studarde, Richard, of Skipwyth, yeoman 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.85ms