home / cp40x

names

7 rows where case_id = 2213758

✎ 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
4543199 2213758 2213758 plaintiff Arnall William   586901 586901 Arnall, William, of Nottingham 0
4543200 2213758 2213758 defendant Bower Ralph   587136 587136 Bower, Ralph, of Derby 0
4543201 2213758 2213758 defendant Draper Thomas   601293 601293 Draper, Thomas, of Sneynton 1
4543202 2213758 2213758 defendant Deget John   767791 767791 Deget, John, of Papulwyk 2
4543203 2213758 2213758 defendant Saunby John   586901 586901 Saunby, John, of Nottingham 3
4543204 2213758 2213758 defendant Couper (illegible)   586901 586901 Couper, _, of Nottingham 4
4543205 2213758 2213758 defendant Shepe John   589796 589796 Shepe, John, of Leek 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 14.874ms