home / cp40x

names

6 rows where case_id = 2301343

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4816766 2301343 2301343 plaintiff Marshall Thomas     Marshall, Thomas 0
4816767 2301343 2301343 defendant Cateshull Henry husbandman 806833 806833 Cateshull, Henry, of Wychynbande, husbandman 0
4816768 2301343 2301343 defendant Catteshull Richard husbandman 806833 806833 Catteshull, Richard, of Wychynbande, husbandman 1
4816769 2301343 2301343 defendant Bryklowe John barber 586958 586958 Bryklowe, John, of Gloucester, barber 2
4816770 2301343 2301343 defendant Drewe William   586431 586431 Drewe, William, of Lychefeld, Staffs, brass worker 3
4816771 2301343 2301343 defendant Wyot Thomas husbandman 806835 806835 Wyot, Thomas, of Wychynbande, Worcs, 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 13.236ms