home / cp40x

names

6 rows where case_id = 2416983

✎ 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
5204196 2416983 2416983 plaintiff Draper Margery     Draper, Margery 0
5204197 2416983 2416983 defendant Kene Roger husbandman 606752 606752 Kene, Roger, of Nettilsted, husbandman 0
5204198 2416983 2416983 defendant Sloo John   855549 855549 Sloo, John, of Byttebarogh, wheel wright 1
5204199 2416983 2416983 defendant Cocke William   656651 656651 Cocke, William, of Tunbridge, shoe maker 2
5204200 2416983 2416983 defendant Pyx Richard butcher 656651 656651 Pyx, Richard, of Tunbridge, butcher 3
5204201 2416983 2416983 defendant Symond John husbandman 767813 767813 Symond, John, of Hadlow, husbandman 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.965ms