home / cp40x

names

6 rows where case_id = 2365678

✎ 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
5030109 2365678 2365678 plaintiff Payn John merchant 603084 603084 Payn, John, of Romesey, merchant 0
5030110 2365678 2365678 defendant Emory John merchant 586254 586254 Emory, John, of Southampton, merchant 0
5030111 2365678 2365678 defendant Dyer Nicholas dyer 589302 589302 Dyer, Nicholas, of Abyndon, Berks, dyer 1
5030112 2365678 2365678 defendant Rammesbury Edmund gent 837190 837190 Rammesbury, Edmund, of Eytesham, Oxon, gent 2
5030113 2365678 2365678 defendant Knyght John (legal representative) 585925 585925 Knyght, John, of Bristol, merchant, executrix of 3
5030114 2365678 2365678 defendant Knyght Agnes widow 585925 585925 Knyght, Agnes, of Bristol, 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 13.784ms