home / cp40x

names

6 rows where case_id = 2330405

✎ 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
4912469 2330405 2330405 plaintiff Carleton John     Carleton, John 0
4912470 2330405 2330405 defendant Stafford John gent 820947 820947 Stafford, John, of Eyom or Eyam, Derbs, gent 0
4912471 2330405 2330405 defendant Archer William (legal representative) 592418 592418 Archer, William, of Tykhill, Yorks, executors of 1
4912472 2330405 2330405 defendant Archer Joan widow & formerly wife of Testator   (Archer, Joan, widow & formerly wife of Testator 2
4912473 2330405 2330405 defendant Dirley Henry yeoman 637933 637933 Dirley, Henry, of Atterclyffe, Yorks, yeoman 3
4912474 2330405 2330405 defendant Puson Thomas yeoman 820949 820949 Puson, Thomas, of Chapell en le Frythe, Derbs, yeoman 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.351ms