home / cp40x

names

8 rows where case_id = 2516426

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5538170 2516426 2516426 plaintiff Dorset Cecily widow   Dorset, Cecily, widow 0
5538171 2516426 2516426 defendant Archeboll Thomas husbandman 591240 591240 Archeboll, Thomas, of Oterton, husbandman 0
5538172 2516426 2516426 defendant Skutte Andrew husbandman 591240 591240 Skutte, Andrew, of Oterton, husbandman 1
5538173 2516426 2516426 defendant Fregyn John husbandman 591240 591240 Fregyn, John, of Oterton, husbandman 2
5538174 2516426 2516426 defendant Fregyn John, junior laborer 591240 591240 Fregyn, John, junior, of Oterton, laborer 3
5538175 2516426 2516426 defendant Kyng John husbandman 591240 591240 Kyng, John, of Oterton, husbandman 4
5538176 2516426 2516426 defendant Payng William husbandman 591240 591240 Payng, William, of Oterton, husbandman 5
5538177 2516426 2516426 defendant Wenman John, junior laborer 591240 591240 Wenman, John, junior, of Oterton, laborer 6

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 17.037ms