home / cp40x

names

7 rows where case_id = 2245204

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4647080 2245204 2245204 plaintiff Russell Richard merchant 586067 586067 Russell, Richard, of York, merchant 0
4647081 2245204 2245204 defendant Knyghtman Henry dyer 753729 753729 Knyghtman, Henry, of Kirkeby in Kendale, dyer 0
4647082 2245204 2245204 defendant Coke John   777583 777583 Coke, John, of Byldwarig 1
4647083 2245204 2245204 defendant Wydouson Nicholas   777584 777584 Wydouson, Nicholas, of Quynsell 2
4647084 2245204 2245204 defendant Warener Adam   600741 600741 Warener, Adam, of Holston 3
4647085 2245204 2245204 defendant Bavysdale Thomas   777585 777585 Bavysdale, Thomas, of Skelmesser 4
4647086 2245204 2245204 defendant Bavysdale Robert   619824 619824 Bavysdale, Robert, of Kendale 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 16.412ms