home / cp40x

names

7 rows where case_id = 2213884

✎ 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
4543579 2213884 2213884 plaintiff atte Stokkes John     atte Stokkes, John 0
4543580 2213884 2213884 defendant Oldman John   631897 631897 Oldman, John, of Westmell 0
4543581 2213884 2213884 defendant Hardyng William   597375 597375 Hardyng, William, of Manytre 1
4543582 2213884 2213884 defendant Clerk John fuller 585869 585869 Clerk, John, of London, fuller 2
4543583 2213884 2213884 defendant Spencer Thomas   631897 631897 Spencer, Thomas, of Westmell 3
4543584 2213884 2213884 defendant atte Stokkes Thomas   631897 631897 atte Stokkes, Thomas, of Westmell 4
4543585 2213884 2213884 defendant Hore John   631897 631897 Hore, John, of Westmell 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 14.61ms