home / cp40x

names

8 rows where case_id = 2523019

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5560462 2523019 2523019 plaintiff Spencer Leonard     Spencer, Leonard 0
5560463 2523019 2523019 defendant Coket Robert yeoman 586132 586132 Coket, Robert, of Thurton, yeoman 0
5560464 2523019 2523019 defendant Taillour John husbandman 707428 707428 Taillour, John, of Mundesley, husbandman 1
5560465 2523019 2523019 defendant Russell John husbandman 707428 707428 Russell, John, of Mundesley, husbandman 2
5560466 2523019 2523019 defendant Gedney John husbandman 707428 707428 Gedney, John, of Mundesley, husbandman 3
5560467 2523019 2523019 defendant Dyngyll John husbandman 592153 592153 Dyngyll, John, of Wroxham, husbandman 4
5560468 2523019 2523019 defendant Elys Nicholas yeoman 592153 592153 Elys, Nicholas, of Wroxham, yeoman 5
5560469 2523019 2523019 defendant Toly Robert yeoman 626736 626736 Toly, Robert, of Briston, yeoman 6

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