home / cp40x

names

6 rows where case_id = 1959702

✎ 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
3805621 1959702 1959702 plaintiff Thurmode John     Thurmode, John 0
3805622 1959702 1959702 defendant Garrard Thomas sherman 617956 617956 Garrard, Thomas, of Stowemarkett, sherman 0
3805623 1959702 1959702 defendant Benston Leonard smith 617956 617956 Benston, Leonard, of Stowemarkett, smith 1
3805624 1959702 1959702 defendant Fraunces Robert husbandman 587726 587726 Fraunces, Robert, of Combys, husbandman 2
3805625 1959702 1959702 defendant Austen Edmund husbandman 587726 587726 Austen, Edmund, of Combys, husbandman 3
3805626 1959702 1959702 defendant Thorp John mercer 617956 617956 Thorp, John, of Stowemarkett, mercer 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 15.244ms