home / cp40x

names

5 rows where case_id = 2117024

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4262182 2117024 2117024 plaintiff Walbye Thomas gent   Walbye, Thomas, gent 0
4262183 2117024 2117024 defendant Woodcock Robert yeoman 597429 597429 Woodcock, Robert, of Alborough, yeoman 0
4262184 2117024 2117024 defendant Welton Robert yeoman 685933 685933 Welton, Robert, of Reddenhall, yeoman 1
4262185 2117024 2117024 defendant Skete Henry yeoman 683192 683192 Skete, Henry, of Alboroughe, yeoman 2
4262186 2117024 2117024 defendant Thurston Margaret widow 683192 683192 Thurston, Margaret, of Alboroughe, widow 3

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