home / cp40x

names

6 rows where case_id = 2275476

✎ 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
4732923 2275476 2275476 plaintiff Polreden John     Polreden, John 0
4732924 2275476 2275476 defendant Puddyng John gent 587286 587286 Puddyng, John, of Camelford, gent 0
4732925 2275476 2275476 defendant Tregowe Nicholas gent 789678 789678 Tregowe, Nicholas, of Tregathles, gent 1
4732926 2275476 2275476 defendant Scoche Robert jun, of Hillescote, yeoman   together with Scoche, Robert, jun, of Hillescote, yeoman 2
4732927 2275476 2275476 defendant Peek Thomas yeoman 755306 755306 Peek, Thomas, of Nanskelly, yeoman 3
4732928 2275476 2275476 defendant Walk John yeoman 793020 793020 Walk, John, of Tregoulle, yeoman 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 13.491ms