home / cp40x

names

6 rows where case_id = 2490175

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5450949 2490175 2490175 plaintiff Rouley William     Rouley, William 0
5450950 2490175 2490175 defendant Trentham Thomas dyer 888944 888944 Trentham, Thomas, of Benyore, Worcs, dyer 0
5450951 2490175 2490175 defendant Bromfeld John chapman 690630 690630 Bromfeld, John, of Cradley, Worcs, chapman 1
5450952 2490175 2490175 defendant Yarley Thomas   888945 888945 Yarley, Thomas, of Stonleigh, Warws, wire drawer 2
5450953 2490175 2490175 defendant Yeman William   888946 888946 Yeman, William, of Exhale, Coventry 3
5450954 2490175 2490175 defendant Laweford William husbandman 866377 866377 Laweford, William, of Brynklowe, Warws, husbandman 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 18.561ms