home / cp40x

names

8 rows where case_id = 1904099

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3629546 1904099 1904099 plaintiff Dalston William     Dalston, William 0
3629547 1904099 1904099 defendant Lowther Nicholas chaplain 597715 597715 Lowther, Nicholas, of Wygton, chaplain 0
3629548 1904099 1904099 defendant Lowther Gilbert gent 597715 597715 Lowther, Gilbert, of Wygton, gent 1
3629549 1904099 1904099 defendant Lowther Miles gent 597715 597715 Lowther, Miles, of Wygton, gent 2
3629550 1904099 1904099 defendant Key John   597715 597715 Key, John, of Wygton, wright 3
3629551 1904099 1904099 defendant Irelond William laborer 597715 597715 Irelond, William, of Wygton, laborer 4
3629552 1904099 1904099 defendant Skales Richard laborer 597715 597715 Skales, Richard, of Wygton, laborer 5
3629553 1904099 1904099 defendant Yong William laborer 597715 597715 Yong, William, of Wygton, laborer 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 14.42ms