home / cp40x

names

7 rows where case_id = 2456267

✎ 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
5337424 2456267 2456267 plaintiff Hudson John     Hudson, John 0
5337425 2456267 2456267 defendant Fyssher Thomas, junior yeoman 874994 874994 Fyssher, Thomas, junior, of Portonscales, Cumber, yeoman 0
5337426 2456267 2456267 defendant Surmyre John chapman 604368 604368 Surmyre, John, of Killyngton, Westmor, chapman 1
5337427 2456267 2456267 defendant Fyssher Thomas yeoman 874995 874995 Fyssher, Thomas, of Rasethwayte, Borowedale, Cumber, yeoman 2
5337428 2456267 2456267 defendant Wylson John yeoman 589888 589888 Wylson, John, of Staynburn, Cumber, yeoman 3
5337429 2456267 2456267 defendant Brayton Richard husbandman 616449 616449 Brayton, Richard, of Aspatre, Cumber, husbandman 4
5337430 2456267 2456267 defendant Fyssher John yeoman 765542 765542 Fyssher, John, of Borowedale Graunge, Cumber, yeoman 5

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.275ms