home / cp40x

names

9 rows where case_id = 2240362

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4630218 2240362 2240362 plaintiff Staverton John     Staverton, John 0
4630219 2240362 2240362 plaintiff Carbonell John knight   Carbonell, John, knight 1
4630220 2240362 2240362 plaintiff Philip William     Philip, William 2
4630221 2240362 2240362 plaintiff Sengylton Thomas     Sengylton, Thomas 3
4630222 2240362 2240362 defendant Baker Thomas   776091 776091 Baker, Thomas, of Codynham 0
4630223 2240362 2240362 defendant Hed Thomas   586134 586134 Hed, Thomas, of Ipswich 1
4630224 2240362 2240362 defendant Kymbell John   776092 776092 Kymbell, John, of Gosebek 2
4630225 2240362 2240362 defendant Waleys Robert   776092 776092 Waleys, Robert, of Gosebek 3
4630226 2240362 2240362 defendant Waleys Alice     Alice, his wife 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 14.825ms