home / cp40x

names

6 rows where case_id = 2488389

✎ 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
5444992 2488389 2488389 plaintiff Dokat William merchant 586859 586859 Dokat, William, of Salisbury, merchant 0
5444993 2488389 2488389 defendant Tracy John gent 727764 727764 Tracy, John, of Yevill, Soms, gent 0
5444994 2488389 2488389 defendant Plesauns Thomas clothier 884140 884140 Plesauns, Thomas, of Mellis, Soms, clothier 1
5444995 2488389 2488389 defendant Herner Robert clothier 586404 586404 Herner, Robert, of Melles, clothier 2
5444996 2488389 2488389 defendant Chan Joan widow 594021 594021 Chan, Joan, of Yevell, Soms, widow 3
5444997 2488389 2488389 defendant Baw_ Thomas chapman 596420 596420 Baw_, Thomas, of Somerset, chapman 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 11.741ms