home / cp40x

names

8 rows where case_id = 2446031

✎ 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
5303460 2446031 2446031 plaintiff Grey Thomas     Grey, Thomas 0
5303461 2446031 2446031 plaintiff Grey Henry     Grey, Henry 1
5303462 2446031 2446031 defendant Grene John esq 793233 793233 Grene, John, of Thames Ditton, esq 0
5303463 2446031 2446031 defendant Garnon William gent 585869 585869 Garnon, William, of London, gent 1
5303464 2446031 2446031 defendant Sotheworth (illegible) widow 870847 870847 Sotheworth, _, of Kyngessene, in the parish of Keston, Kyngeston upon Thames, widow 2
5303465 2446031 2446031 defendant Parker John   653439 653439 Parker, John, of London, scrivenor 3
5303466 2446031 2446031 defendant Hill Thomas grocer 585869 585869 Hill, Thomas, of London, grocer 4
5303467 2446031 2446031 defendant Odam John laborer 870848 870848 Odam, John, of Temys or Thames Ditton, laborer 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 7.793ms