home / cp40x

names

7 rows where case_id = 2476968

✎ 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
5406640 2476968 2476968 plaintiff Sweyn Thomas     Sweyn, Thomas 0
5406641 2476968 2476968 defendant Sabarn John   590409 590409 Sabarn, John, of Costessey, hair man 0
5406642 2476968 2476968 defendant Dey Robert smith 884251 884251 Dey, Robert, of Weston by Langwade, smith 1
5406643 2476968 2476968 defendant Smyth Robert husbandman 586796 586796 Smyth, Robert, of Halveryate, husbandman 2
5406644 2476968 2476968 defendant Dukworth John husbandman 589398 589398 Dukworth, John, of Blofeld, husbandman 3
5406645 2476968 2476968 defendant Heythe John husbandman 589398 589398 Heythe, John, of Blofeld, husbandman 4
5406646 2476968 2476968 defendant Trynnman Edmund husbandman 586796 586796 Trynnman, Edmund, of Halveryate, husbandman 5

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