home / cp40x

names

8 rows where case_id = 1985735

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3886480 1985735 1985735 plaintiff Busby Thomas     Busby, Thomas 0
3886481 1985735 1985735 defendant Alen Roger husbandman 645604 645604 Alen, Roger, of Pencrege, husbandman 0
3886482 1985735 1985735 defendant Cave Edmund butcher 587516 587516 Cave, Edmund, of Stafford, butcher 1
3886483 1985735 1985735 defendant Lymford John smith 598666 598666 Lymford, John, of Newcastle under Lyme, smith 2
3886484 1985735 1985735 defendant James Thomas chapman 601529 601529 James, Thomas, of Coven, chapman 3
3886485 1985735 1985735 defendant Chytwood Roger gent 645605 645605 Chytwood, Roger, of Worleston, Cheshire, gent 4
3886486 1985735 1985735 defendant Smyth William husbandman 645606 645606 Smyth, William, of Wightwicke, husbandman 5
3886487 1985735 1985735 defendant Bagnold Ralph tanner 645607 645607 Bagnold, Ralph, of Wiche, Cheshire, tanner 6

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