home / cp40x

names

6 rows where case_id = 2414282

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5194972 2414282 2414282 plaintiff Robert John, sen   603903 603903 Robert, John, sen, of Cranbrook 0
5194973 2414282 2414282 defendant Courthope Robert smith 770318 770318 Courthope, Robert, of Goudhurst, smith 0
5194974 2414282 2414282 defendant Begham Sussex Thomas, of abbot of the monastery of the BM, in   Begham, Sussex, Thomas, of abbot of the monastery of the BM, in 1
5194975 2414282 2414282 defendant Maycot John farmer 588104 588104 Maycot, John, of Sturrey, farmer 2
5194976 2414282 2414282 defendant Baseden Robert   770318 770318 Baseden, Robert, of Goudhurst, wheel wright 3
5194977 2414282 2414282 defendant Paytewyn John carpenter 596328 596328 Paytewyn, John, of Frethyngden, carpenter 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.958ms