home / cp40x

names

5 rows where place_id = 672520

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4005972 2026910 2026910 defendant Wood John chapman 672520 672520 Wood, John, of Earles Colne, Essex, chapman 1
4067124 2048540 2048540 defendant Potyer or Potter George husbandman 672520 672520 Potyer or Potter, George, of Earles Colne, Essex, or of Newton, Suff, husbandman 0
4169206 2084733 2084733 defendant Turner William weaver 672520 672520 Turner, William, of Earles Colne, Essex, weaver 0
4244407 2111104 2111104 defendant Harlackenden Roger esq 672520 672520 Harlackenden, Roger, of Earles Colne, Essex, esq 0
4249025 2112657 2112657 defendant Warde Richard yeoman 672520 672520 Warde, Richard, of Earles Colne, Essex, yeoman 1

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