home / cp40x

names

5 rows where place_id = 667000

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3983309 2018802 2018802 defendant Mallard Philip husbandman 667000 667000 Mallard, Philip, of Belowe, husbandman 2
4151294 2078576 2078576 defendant Hopton Charles gent 667000 667000 Hopton, Charles, of Belowe, gent 0
4217706 2101683 2101683 defendant Sherwyn Richard   667000 667000 Sherwyn, Richard, of Belowe, collar maker 0
4258900 2115948 2115948 defendant Allexander William yeoman 667000 667000 Allexander, William, of Belowe, yeoman 4
4284193 2124395 2124395 defendant Gates William laborer 667000 667000 Gates, William, of Belowe, laborer 2

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.553ms