home / cp40x

names

7 rows where case_id = 2499832

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5482909 2499832 2499832 plaintiff Horne Henry esq   Horne, Henry, esq 0
5482910 2499832 2499832 defendant Bettenham Thomas (legal representative) 594885 594885 Bettenham, Thomas, of Plukle, gent, executrix of 0
5482911 2499832 2499832 defendant Betnam Thomasine widow 594885 594885 Betnam, Thomasine, of Plukle, widow 1
5482912 2499832 2499832 defendant Ilchynden William clothmaker 588182 588182 Ilchynden, William, of Stapilherst, clothmaker 2
5482913 2499832 2499832 defendant Hancok Lawrence butcher 775134 775134 Hancok, Lawrence, of Apoldre, butcher 3
5482914 2499832 2499832 defendant Dowele John butcher 585864 585864 Dowele, John, of Cranebroke, butcher 4
5482915 2499832 2499832 defendant Buntflower Thomas baker 596330 596330 Buntflower, Thomas, of Sythyngbourn, baker 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.676ms