home / cp40x

names

5 rows where case_id = 2104357

✎ 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
4225424 2104357 2104357 plaintiff Cressey John     Cressey, John 0
4225425 2104357 2104357 defendant Cogger William husbandman 718561 718561 Cogger, William, of Tysherste, husbandman 0
4225426 2104357 2104357 defendant Knyghte Edmund husbandman 718562 718562 Knyghte, Edmund, of Mountfeilde, husbandman 1
4225427 2104357 2104357 defendant Cressey William husbandman 600714 600714 Cressey William, of Hollyngton, husbandman 2
4225428 2104357 2104357 defendant Mackley Richard glasier 657168 657168 Mackley, Richard, of Burwashe, glasier 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 15.915ms