home / cp40x

names

5 rows where case_id = 2475937

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5402989 2475937 2475937 plaintiff Mannynge William grocer 585869 585869 Mannynge, William, of London, grocer 0
5402990 2475937 2475937 defendant Edward John dyer 834222 834222 Edward, John, of Exilond, Devon, dyer 0
5402991 2475937 2475937 defendant Clyterowe Mathew chapman 594459 594459 Clyterowe, Mathew, of West Mallyng, Kent, chapman 1
5402992 2475937 2475937 defendant Philpot Henry   585888 585888 Philpot, Henry, of Maidstone, Kent, shoe maker 2
5402993 2475937 2475937 defendant Dornet William dyer 598597 598597 Dornet, William, of Wellyngton, Soms, dyer 3

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.4ms