home / cp40x

names

5 rows where case_id = 2129545

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4298442 2129545 2129545 plaintiff Pott John, junior gent   Pott, John, junior, gent 0
4298443 2129545 2129545 defendant Arkinstall Richard gent 597465 597465 Arkinstall, Richard, of Ely, Cams, gent 0
4298444 2129545 2129545 defendant Bugge Nicholas yeoman 732271 732271 Bugge, Nicholas, of Downham, Cams, yeoman 1
4298445 2129545 2129545 defendant Robynson William yeoman 616581 616581 Robynson, William, of Hadnam, Cams, yeoman 2
4298446 2129545 2129545 defendant Heyward William yeoman 639086 639086 Heyward, William, of Wilberton, Cams, yeoman 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 15.271ms