home / cp40x

names

6 rows where place_id = 698596

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4124849 2069178 2069178 defendant Sampson George yeoman 698596 698596 Sampson, George, of Wiston, yeoman 2
4239044 2109277 2109277 defendant Brett Peter sherman 698596 698596 Brett, Peter, of Wiston, sherman 0
4478231 2193865 2193865 defendant Umbervyle John   698596 698596 (Umbervyle, John, of Wiston, parson 1
4478236 2193866 2193866 defendant Umbervyle John   698596 698596 (Umbervyle, John, of Wiston, parson 1
4488792 2197215 2197215 defendant Dekes John   698596 698596 Dekes, John, of Wiston 0
4853614 2312546 2312546 defendant Smyth Richard husbandman 698596 698596 Smyth, Richard, of Wiston, husbandman 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 22.919ms