home / cp40x

names

8 rows where case_id = 2390764

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5114872 2390764 2390764 plaintiff Mason Thomas     Mason, Thomas 0
5114873 2390764 2390764 plaintiff Fermour John, senior     Fermour, John, senior 1
5114874 2390764 2390764 plaintiff Fermour John, junior     Fermour, John, junior 2
5114875 2390764 2390764 defendant Wodhale John prior of Hundeslowe Priory, Middx   Wodhale, John, prior of Hundeslowe Priory, Middx 0
5114876 2390764 2390764 defendant Broke Thomas turner 606763 606763 Broke, Thomas, of Sandersted, turner 1
5114877 2390764 2390764 defendant Godeyere John smith 691911 691911 Godeyere, John, of Ryngmere, Sussex, smith 2
5114878 2390764 2390764 defendant Wymbyll Richard thatcher 848062 848062 Wymbyll, Richard, of Edyngbrigge, Kent, thatcher 3
5114879 2390764 2390764 defendant Bodell Thomas baker 848063 848063 Bodell, Thomas, of Chydynglegh, Susse, baker 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 12.867ms