home / cp40x

names

5 rows where place_id = 758051

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation

id ▼ case_id role surname forename occupation place_id raw_segment seq
4450769 2185204 2185204 defendant Peke Roger   758051 758051 Peke, Roger, of Stalam 3
4887235 2322846 2322846 defendant Corpsty Thomas husbandman 758051 758051 Corpsty, Thomas, of Stalam, husbandman 4
4897891 2325999 2325999 defendant Tredecok William yeoman 758051 758051 together with Tredecok, William, of Stalam, yeoman 2
4969130 2347730 2347730 plaintiff Lynford John   758051 758051 Lynford, John, of Stalam 1
5348890 2459783 2459783 defendant Henrys William husbandman 758051 758051 Henrys, William, of Stalam, 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 13.747ms