home / cp40x

names

9 rows where case_id = 2225298

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4580204 2225298 2225298 plaintiff Danby William   586067 586067 Danby, William, of York 0
4580205 2225298 2225298 defendant (not given) John prior of Bisburh   Bisburh, John, prior of 0
4580206 2225298 2225298 defendant Lanmouth Richard     Lanmouth, Richard 1
4580207 2225298 2225298 defendant Lanmouth John     Lanmouth, John 2
4580208 2225298 2225298 defendant Flawath Robert     Flawath, Robert 3
4580209 2225298 2225298 defendant Kirkes Thomas   596678 596678 Kirkes, Thomas, of Middilton 4
4580210 2225298 2225298 defendant Appulby John   771624 771624 Appulby, John, of Storeburgh 5
4580211 2225298 2225298 defendant Gerge William     Gerge, William 6
4580212 2225298 2225298 defendant Dobson William jun, of Wartir   Dobson, William, jun, of Wartir 7

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