home / cp40x

names

6 rows where case_id = 2273813

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4727381 2273813 2273813 plaintiff Hereward John     Hereward, John 0
4727382 2273813 2273813 defendant Judde Thomas yeoman 586152 586152 Judde, Thomas, of Warwick, yeoman 0
4727383 2273813 2273813 defendant Tofte Edmund laborer 640639 640639 Tofte, Edmund, of Napton, laborer 1
4727384 2273813 2273813 defendant Symondes Roger husbandman 792028 792028 Symondes, Roger, of Tonneworth, husbandman 2
4727385 2273813 2273813 defendant Newerk John spicer 591729 591729 Newerk, John, of Knoll, spicer 3
4727386 2273813 2273813 defendant Milner John   792029 792029 Milner, John, of Cley Coton, Nhants 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 16.804ms