home / cp40x

names

8 rows where case_id = 2266163

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4702400 2266163 2266163 plaintiff Haddon Robert     Haddon, Robert 0
4702401 2266163 2266163 defendant Lobbedon William chapman 591028 591028 Lobbedon, William, of Crediton, chapman 0
4702402 2266163 2266163 defendant Lobbodon Gilbert husbandman 787408 787408 Lobbodon, Gilbert, of Chalvelegh, husbandman 1
4702403 2266163 2266163 defendant Hanberygge William husbandman 591028 591028 Hanberygge, William, of Crediton, husbandman 2
4702404 2266163 2266163 defendant Allerford Henry   642361 642361 Allerford, Henry, of Tiverton, swine heler 3
4702405 2266163 2266163 defendant atte Wode Geoffrey smith 775530 775530 atte Wode, Geoffrey, of Nymet Bowe, smith 4
4702406 2266163 2266163 defendant Allerford John chapman 642361 642361 Allerford, John, of Tiverton, chapman 5
4702407 2266163 2266163 defendant Herward Jihn clerk 787410 787410 Herward, Jihn, of Petrystowe, clerk 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 13.455ms