home / cp40x

names

6 rows where case_id = 2445278

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5301083 2445278 2445278 plaintiff (not given) John prior of Cosyn 870469 870469 Cosyn, John, of Great Massynghame, prior of the hospital of the BM & St Nicholas 0
5301084 2445278 2445278 defendant Gorham Robert clerk 586143 586143 Gorham, Robert, of Norton, clerk 0
5301085 2445278 2445278 defendant Pawly Geoffrey husbandman 785610 785610 Pawly, Geoffrey, of Little Fraunsham, husbandman 1
5301086 2445278 2445278 defendant Coo Richard husbandman 594337 594337 Coo, Richard, of Asshyll, husbandman 2
5301087 2445278 2445278 defendant Baret James husbandman 619144 619144 Baret, James, of South Pykenham, husbandman 3
5301088 2445278 2445278 defendant Game Thomas husbandman 635284 635284 Game, Thomas, of Seche, 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 10.53ms