home / cp40x

names

5 rows where case_id = 2506940

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5506504 2506940 2506940 plaintiff Cassheour Richard   894455 894455 Cassheour, Richard, of Southwide 0
5506505 2506940 2506940 defendant Seman Thomas husbandman 588438 588438 Seman, Thomas, of Wykhampton, husbandman 0
5506506 2506940 2506940 defendant Jullys Roger husbandman 588438 588438 Jullys, Roger, of Wykhampton, husbandman 1
5506507 2506940 2506940 defendant Swetale Nicholas husbandman 593308 593308 Swetale, Nicholas, of Redeham, husbandman 2
5506508 2506940 2506940 defendant Thurkeld John husbandman 588438 588438 Thurkeld, John, of Wykhampton, husbandman 3

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 15.721ms