home / cp40x

names

6 rows where case_id = 1942378

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3751472 1942378 1942378 plaintiff Norden Thomas     Norden, Thomas 0
3751473 1942378 1942378 defendant Rose John husbandman 623260 623260 Rose, John, of Lodnam, husbandman 0
3751474 1942378 1942378 defendant Peke John husbandman 602537 602537 Peke, John, of Norburn, husbandman 1
3751475 1942378 1942378 defendant Pypar Henry husbandman 586497 586497 Pypar, Henry, of Barston, husbandman 2
3751476 1942378 1942378 defendant Sayer John (legal representative) 593183 593183 Sayer, John, of Nonyngton, husbandman, executrix of 3
3751477 1942378 1942378 defendant Sayer Agnes widow 593183 593183 Sayer, Agnes, of Nonyngton, widow 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 14.597ms