home / cp40x

names

5 rows where place_id = 673585

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment

id ▼ case_id role surname forename occupation place_id raw_segment seq
4010450 2028509 2028509 defendant Cotton Richard gent 673585 673585 Cotton, Richard, of Mapleton, gent 0
4055380 2044319 2044319 defendant Cotton Richard gent 673585 673585 Cotton, Richard, of Mapleton, gent 0
4079640 2053018 2053018 defendant Dakyn Richard yeoman 673585 673585 Dakyn, Richard, of Mapleton, yeoman 0
4165591 2083466 2083466 defendant Alcocke William yeoman 673585 673585 Alcocke, William, of Mapleton, yeoman 0
4322787 2138039 2138039 defendant Cockeyn Edward gent 673585 673585 Cockeyn, Edward, of Mapleton, gent 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 14.793ms