home / cp40x

names

7 rows where case_id = 1998721

✎ 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
3925144 1998721 1998721 plaintiff Webbe Simon (legal representative) 585869 585869 Webbe, Simon, of London, gent, executor of 0
3925145 1998721 1998721 plaintiff Webbe Robert     Webbe, Robert 1
3925146 1998721 1998721 defendant Gay Humphrey gent 589938 589938 Gay, Humphrey, of Elmested, Kent, gent 0
3925147 1998721 1998721 defendant Gay Osmund gent 652704 652704 Gay, Osmund, of Greys Inn, Middx, gent 1
3925148 1998721 1998721 defendant Cobham William gent 590788 590788 Cobham, William, of Halstowe, Kent, gent 2
3925149 1998721 1998721 defendant Charles William yeoman 615814 615814 Charles, William, of Gyllyngham, Kent, yeoman 3
3925150 1998721 1998721 defendant Watson Robert innholder 588442 588442 Watson, Robert, of Rochester, Kent, innholder 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 15.68ms