home / cp40x

names

5 rows where case_id = 2126453

✎ 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
4289910 2126453 2126453 plaintiff Pygott Henry     Pygott, Henry 0
4289911 2126453 2126453 defendant Marvyn John esq 730697 730697 Marvyn, John, of Grenham, Soms, esq 0
4289912 2126453 2126453 defendant Holland Robert clerk 585869 585869 Holland, Robert, of London, or of Haryford West, Pembroke, clerk 1
4289913 2126453 2126453 defendant Fysher Robert gent 585869 585869 Fysher, Robert, of London, or of Ampnee St Peter, Glos, gent 2
4289914 2126453 2126453 defendant Harecourte Walter   585869 585869 Harecourte, Walter, of London, or of Stanton Harecourt, Oxon, knight 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 24.17ms