home / cp40x

names

6 rows where case_id = 2498378

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5477795 2498378 2498378 plaintiff Atherston John     Atherston, John 0
5477796 2498378 2498378 defendant West Thomas husbandman 811968 811968 West, Thomas, of Yelvertoft, Nhants, husbandman 0
5477797 2498378 2498378 defendant Shotisbroke Thomas cordwainer 586435 586435 Shotisbroke, Thomas, of Leicester, cordwainer 1
5477798 2498378 2498378 defendant Furner Simon painter 891530 891530 Furner, Simon, of Tamowrth, painter 2
5477799 2498378 2498378 defendant Underhill John yeoman 891531 891531 Underhill, John, of Busshbury, Staffs, yeoman 3
5477800 2498378 2498378 defendant Pores John yeoman 603520 603520 Pores, John, of Atherston, yeoman 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.426ms