home / cp40x

names

7 rows where case_id = 2354404

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4991708 2354404 2354404 plaintiff Coo John esq   Coo, John, esq, executors of 0
4991709 2354404 2354404 plaintiff Cotton William esq   (Cotton, William, esq 1
4991710 2354404 2354404 plaintiff Bateman John   685374 685374 Bateman, John, of Boroughe, parson 2
4991711 2354404 2354404 plaintiff Coo John clerk 588081 588081 Coo, John, of Cambridge, clerk 3
4991712 2354404 2354404 plaintiff Swyper Thomas     Swyper, Thomas 4
4991713 2354404 2354404 defendant Resshebrook John gent 831722 831722 Resshebrook, John, of Combes, Suffolk, gent 0
4991714 2354404 2354404 defendant Pecherd John husbandman 591960 591960 Pecherd, John, of Halstede, Essex, husbandman 1

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.845ms