home / cp40x

names

5 rows where case_id = 2082937

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4163995 2082937 2082937 plaintiff Trayle John     Trayle, John 0
4163996 2082937 2082937 defendant Burton Thomas butcher 665071 665071 Burton, Thomas, of Wygenhall St Mary Magdalene, butcher 0
4163997 2082937 2082937 defendant Procter William carpenter 657373 657373 Procter, William, of Wormegaye, carpenter 1
4163998 2082937 2082937 defendant Davye George thatcher 611831 611831 Davye, George, of Roughton Holme, thatcher 2
4163999 2082937 2082937 defendant Pynchebeck John   656406 656406 Pynchebeck, John, of Stowe Bardolf 3

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