home / cp40x

names

7 rows where case_id = 2480835

✎ 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
5419791 2480835 2480835 plaintiff Sweyn Thomas     Sweyn, Thomas 0
5419792 2480835 2480835 defendant Sabarn John hairman 590409 590409 Sabarn, John, of Costessey, hairman 0
5419793 2480835 2480835 defendant Dey Robert husbandman 884251 884251 Dey, Robert, of Weston by Langwade, husbandman 1
5419794 2480835 2480835 defendant Smyth Robert husbandman 586796 586796 Smyth, Robert, of Halveryate, husbandman 2
5419795 2480835 2480835 defendant Dukworth Ellis husbandman 589398 589398 Dukworth, Ellis, of Blofeld, husbandman 3
5419796 2480835 2480835 defendant Heythe John husbandman 589398 589398 Heythe, John, of Blofeld, husbandman 4
5419797 2480835 2480835 defendant Trymman Richard husbandman 596676 596676 Trymman, Richard, of Halvergate, 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 14.79ms