home / cp40x

names

6 rows where case_id = 2463994

✎ 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
5362751 2463994 2463994 plaintiff Uppeton John     Uppeton, John 0
5362752 2463994 2463994 defendant Coke William husbandman 782614 782614 Coke, William, of Tamerton Folyet, husbandman 0
5362753 2463994 2463994 defendant Adam William yeoman 877735 877735 Adam, William, of Buttokeshyde, yeoman 1
5362754 2463994 2463994 defendant Lyccher Robert shoemaker 588915 588915 Lyccher, Robert, of Plympton Earl, shoemaker 2
5362755 2463994 2463994 defendant Lyccher Alexander butcher 597114 597114 Lyccher, Alexander, of Neuton Ferrers, butcher 3
5362756 2463994 2463994 defendant Abraham John husbandman 608136 608136 Abraham, John, of Yealmeton, 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 16.389ms