home / cp40x

names

10 rows where case_id = 2222819

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4572027 2222819 2222819 plaintiff Armeston William     Armeston, William 0
4572028 2222819 2222819 defendant Skynner John   598873 598873 Skynner, John, of Wythyham 0
4572029 2222819 2222819 defendant Ranger Richard     Ranger, Richard 1
4572030 2222819 2222819 defendant Daly John   588882 588882 Daly, John, of Retherfeld 2
4572031 2222819 2222819 defendant Fitrer John     Fitrer, John 3
4572032 2222819 2222819 defendant Tanelherst Thomas     together with Tanelherst, Thomas 4
4572033 2222819 2222819 defendant Bedell Andrew     Bedell, Andrew 5
4572034 2222819 2222819 defendant Pope Thomas   598873 598873 Pope, Thomas, of Wythyham 6
4572035 2222819 2222819 defendant Pylcher William     Pylcher, William 7
4572036 2222819 2222819 defendant Tokvill John     Tokvill, John 8

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