home / cp40x

names

6 rows where case_id = 2032033

✎ 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
4020436 2032033 2032033 plaintiff Williams Elias haberdasher 585869 585869 Williams, Elias, of London, haberdasher 0
4020437 2032033 2032033 defendant Cott Robert girdler 585869 585869 Cott, Robert, of London, girdler 0
4020438 2032033 2032033 defendant Baghe Thomas yeoman 638430 638430 Baghe, Thomas, of Gylforde, Surrey, yeoman 1
4020439 2032033 2032033 defendant Brabon Henry clothier 599847 599847 Brabon, Henry, of Farnam, Surrey, clothier 2
4020440 2032033 2032033 defendant Grig John clothier 675866 675866 Grig, John, of Medarst or Medhurst, Sussex, clothier 3
4020441 2032033 2032033 defendant Clarke John clothier 675867 675867 Clarke, John, of Ockhing, Surrey, clothier 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 5.891ms