home / cp40x

names

8 rows where case_id = 2452947

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5326268 2452947 2452947 plaintiff Stanley George     Stanley, George 0
5326269 2452947 2452947 defendant Daykyn John yeoman 591117 591117 Daykyn, John, of Chorley, yeoman 0
5326270 2452947 2452947 defendant Lynacurs John weaver 591117 591117 Lynacurs, John, of Chorley, weaver 1
5326271 2452947 2452947 defendant Lynacurs Richard husbandman 591117 591117 Lynacurs, Richard, of Chorley, husbandman 2
5326272 2452947 2452947 defendant Lynacurs Thomas yeoman 591117 591117 Lynacurs, Thomas, of Chorley, yeoman 3
5326273 2452947 2452947 defendant Chaterton John yeoman 591117 591117 Chaterton, John, of Chorley, yeoman 4
5326274 2452947 2452947 defendant Colyn Thomas husbandman 591117 591117 Colyn, Thomas, of Chorley, husbandman 5
5326275 2452947 2452947 defendant Smyth Roger laborer 591117 591117 Smyth, Roger, of Chorley, laborer 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 14.511ms