home / cp40x

names

8 rows where case_id = 1913792

✎ 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
3661234 1913792 1913792 plaintiff Kendale Henry     Kendale, Henry 0
3661235 1913792 1913792 plaintiff Kendale Florence     Florence, his wife 1
3661236 1913792 1913792 defendant Trote William yeoman 587114 587114 Trote, William, of Bodmyn, yeoman 0
3661237 1913792 1913792 defendant Stevyn Thomas weaver 596395 596395 Stevyn, Thomas, of Lostwithiell, weaver 1
3661238 1913792 1913792 defendant Joce John yeoman 596395 596395 Joce, John, of Lostwithiell, yeoman 2
3661239 1913792 1913792 defendant Bryan Edward mercer 596395 596395 Bryan, Edward, of Lostwithiell, mercer 3
3661240 1913792 1913792 defendant Brabon William   605339 605339 Brabon, William, of Lostwithiell, franklyn 4
3661241 1913792 1913792 defendant Menwynnek Edward   605340 605340 Menwynnek, Edward, of Lostwithell 5

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