home / cp40x

names

6 rows where case_id = 2347258

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4967623 2347258 2347258 plaintiff Faunte William     Faunte, William 0
4967624 2347258 2347258 defendant Toweslond John chapman 590039 590039 Toweslond, John, of Huntyngdon, chapman 0
4967625 2347258 2347258 defendant Bereford John husbandman 591983 591983 Bereford, John, of Ramesey, husbandman 1
4967626 2347258 2347258 defendant Neweman John husbandman 756979 756979 Neweman, John, of Rameseye, husbandman 2
4967627 2347258 2347258 defendant Palgrome John yeoman 594193 594193 Palgrome, John, of Walsoken, Norf, yeoman 3
4967628 2347258 2347258 defendant Gunne John husbandman 596822 596822 Gunne, John, of Walsoken, husbandman 4

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