home / cp40x

names

7 rows where case_id = 2399690

✎ 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
5145022 2399690 2399690 plaintiff Bonham Thomas esq   Bonham, Thomas, esq 0
5145023 2399690 2399690 plaintiff Pachete alias Cheperd Philip     Pachete alias Cheperd, Philip 1
5145024 2399690 2399690 defendant Cole John   595147 595147 Cole, John, of Wilton, Wilts, mason 0
5145025 2399690 2399690 defendant Turpyn John gent 590357 590357 Turpyn, John, of Wilton, gent 1
5145026 2399690 2399690 defendant Kaysour William gent 590357 590357 Kaysour, William, of Wilton, gent 2
5145027 2399690 2399690 defendant Page Nicholas dyer 590357 590357 Page, Nicholas, of Wilton, dyer 3
5145028 2399690 2399690 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.707ms