home / cp40x

names

7 rows where case_id = 2399125

✎ 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
5143124 2399125 2399125 plaintiff (illegible)   esq   _, esq 0
5143125 2399125 2399125 plaintiff Cheperd alias Pachete Philip     Cheperd alias Pachete, Philip 1
5143126 2399125 2399125 defendant Cole John   595147 595147 Cole, John, of Wilton, Wilts, mason 0
5143127 2399125 2399125 defendant Turpyn John gent 590357 590357 Turpyn, John, of Wilton, gent 1
5143128 2399125 2399125 defendant Kaysour William gent 590357 590357 Kaysour, William, of Wilton, gent 2
5143129 2399125 2399125 defendant Page Nicholas dyer 590357 590357 Page, Nicholas, of Wilton, dyer 3
5143130 2399125 2399125 defendant Joce Robert butcher 590357 590357 Joce, Robert, of Wilton, butcher 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 15.934ms