home / cp40x

names

5 rows where case_id = 2076659

✎ 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
4145727 2076659 2076659 plaintiff Bythese Robert     Bythese, Robert 0
4145728 2076659 2076659 defendant Mawghe Thomas fuller 651370 651370 Mawghe, Thomas, of Axbrydge, fuller 0
4145729 2076659 2076659 defendant Pewe Edward yeoman 592997 592997 Pewe, Edward, of Wedmore, yeoman 1
4145730 2076659 2076659 defendant Prynter John clerk 638361 638361 Prynter, John, of Worle, clerk 2
4145731 2076659 2076659 defendant Goulde Edward yeoman 607608 607608 Goulde, Edward, of Backewell, 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 13.829ms