home / cp40x

names

8 rows where case_id = 2332670

✎ 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
4919705 2332670 2332670 plaintiff Holgate John (legal representative)   Holgate, John, executors of 0
4919706 2332670 2332670 plaintiff Copenger John     (Copenger, John 1
4919707 2332670 2332670 plaintiff Coket John     Coket, John 2
4919708 2332670 2332670 defendant Beton Stephen butcher 587715 587715 Beton, Stephen, of Cokefeld, butcher 0
4919709 2332670 2332670 defendant Crowe Thomas miller 587715 587715 Crowe, Thomas, of Cokefeld, miller 1
4919710 2332670 2332670 defendant Curteys Robert miller 590853 590853 Curteys, Robert, of Ratlesden, miller 2
4919711 2332670 2332670 defendant Pope John butcher 651229 651229 Pope, John, of Thorp Moryeux, butcher 3
4919712 2332670 2332670 defendant Draper John weaver 587061 587061 Draper, John, of Combes, weaver 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 8.337ms