home / cp40x

names

6 rows where case_id = 1911708

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3654620 1911708 1911708 plaintiff Bank John merchant tailor 585869 585869 Bank, John, of London, merchant tailor 0
3654621 1911708 1911708 defendant Lendale William clothman 603462 603462 Lendale, William, of Reading, Berks, clothman 0
3654622 1911708 1911708 defendant Holden William   603463 603463 Holden, William, of Chemmesford, Essex, crown valet to the King 1
3654623 1911708 1911708 defendant Longe Richard gent 585869 585869 Longe, Richard, of London, gent 2
3654624 1911708 1911708 defendant Colshyll Robert haberdasher 585869 585869 Colshyll, Robert, of London, haberdasher 3
3654625 1911708 1911708 defendant Hough John butcher 603464 603464 Hough, John, of Bedford, Beds, butcher 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 6.724ms