home / cp40x

names

6 rows where case_id = 2385820

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5097908 2385820 2385820 plaintiff Trevelyan Henry Archdeacon of Suffolk   Trevelyan, Henry, Archdeacon of Suffolk 0
5097909 2385820 2385820 defendant Foster Nicholas prior of Wodbrygge Priory   Foster, Nicholas, prior of Wodbrygge Priory 0
5097910 2385820 2385820 defendant Sprotlyng John abbot of Leyston Abbey   Sprotlyng, John, abbot of Leyston Abbey 1
5097911 2385820 2385820 defendant Bryse Andrew clerk 846008 846008 Bryse, Andrew, of Bokkyngassh, clerk 2
5097912 2385820 2385820 defendant Flynt Thomas clerk 642861 642861 Flynt, Thomas, of Ufforth, clerk 3
5097913 2385820 2385820 defendant Sturmer Richard clerk 844070 844070 Sturmer, Richard, of Ugcheale, clerk 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 15.128ms