home / cp40x

names

6 rows where case_id = 1984477

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3882689 1984477 1984477 plaintiff Toker William grocer 585869 585869 Toker, William, of London, grocer 0
3882690 1984477 1984477 defendant Reynold Fulk mercer 586821 586821 Reynold, Fulk, of Denbigh, March of Wales, mercer 0
3882691 1984477 1984477 defendant Fletcher Robert mercer 640711 640711 Fletcher, Robert, of Denbigh, mercer 1
3882692 1984477 1984477 defendant Cogan Nicholas chapman 608735 608735 Cogan, Nicholas, of Charde, Soms, chapman 2
3882693 1984477 1984477 defendant Croft John chapman 644910 644910 Croft, John, of Mannfeld in Sorwod, Notts, chapman 3
3882694 1984477 1984477 defendant Goddyn John chapman 614780 614780 Goddyn, John, of Est Mallyng, Kent, chapman 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 14.039ms