home / cp40x

names

5 rows where case_id = 2354133

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4990712 2354133 2354133 plaintiff Chever Richard   624092 624092 Chever, Richard, of Susted 0
4990713 2354133 2354133 defendant Petyt John yeoman 599088 599088 Petyt, John, of Thornage, yeoman 0
4990714 2354133 2354133 defendant Fuller George yeoman 599088 599088 Fuller, George, of Thornage, yeoman 1
4990715 2354133 2354133 defendant Broun William yeoman 599088 599088 Broun, William, of Thornage, yeoman 2
4990716 2354133 2354133 defendant Blofed Thomas husbandman 600015 600015 Blofed, Thomas, of North Reppes, husbandman 3

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