home / cp40x

names

6 rows where place_id = 867383

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5274911 2437748 2437748 defendant Stokes Richard chaplain 867383 867383 Stokes, Richard, of Great Aston, chaplain 0
5467143 2495120 2495120 defendant Chetwyn William gent 867383 867383 Chetwyn, William, of Great Aston, gent 0
5467144 2495120 2495120 defendant Chetwyn Philip gent 867383 867383 Chetwyn, Philip, of Great Aston, gent 1
5467146 2495120 2495120 defendant Girton Roger husbandman 867383 867383 Girton, Roger, of Great Aston, husbandman 3
5467147 2495120 2495120 defendant Chaturton Richard husbandman 867383 867383 Chaturton, Richard, of Great Aston, husbandman 4
5467150 2495120 2495120 defendant Madok William yeoman 867383 867383 Madok, William, of Great Aston, yeoman 7

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