home / cp40x

names

4 rows where place_id = 664485

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role

id ▼ case_id role surname forename occupation place_id raw_segment seq
3973105 2015165 2015165 plaintiff Gowre Richard gent 664485 664485 Gowre, Richard, of Stitnam, gent 0
4184940 2090240 2090240 defendant Goodyere John yeoman 664485 664485 Goodyere, John, of Stitnam, yeoman 0
4681090 2259715 2259715 defendant Gower Walter   664485 664485 Gower, Walter, of Stitnam, son & heir of Thomas Gower 0
4974617 2349375 2349375 plaintiff Menethorp Ralph   664485 664485 Menethorp, Ralph, of Stitnam 0

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