home / cp40x

names

6 rows where case_id = 2284782

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4764154 2284782 2284782 plaintiff Harryson Thomas     Harryson, Thomas 0
4764155 2284782 2284782 defendant Abraham John butcher 586435 586435 Abraham, John, of Leicester, butcher 0
4764156 2284782 2284782 defendant Braybroke William butcher 586435 586435 Braybroke, William, of Leicester, butcher 1
4764157 2284782 2284782 defendant Gulkeley William fishmonger 586435 586435 Gulkeley, William, of Leicester, fishmonger 2
4764158 2284782 2284782 defendant Ive John chapman 797371 797371 Ive, John, of East Deeping, Lincs, chapman 3
4764159 2284782 2284782 defendant Toty Richard   585925 585925 Toty, Richard, of Bristol, chaplain alias Toty, Richard, of Thorneton, Leics, vicar 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 13.953ms