home / cp40x

names

6 rows where case_id = 1945829

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3762216 1945829 1945829 plaintiff Galley John     Galley, John 0
3762217 1945829 1945829 defendant Jakson Richard baker 586846 586846 Jakson, Richard, of Lincoln, baker 0
3762218 1945829 1945829 defendant Fissheburne Richard gent 612039 612039 Fissheburne, Richard, of Cotys, gent 1
3762219 1945829 1945829 defendant Howlet Robert innholder 586846 586846 Howlet, Robert, of Lincoln, innholder 2
3762220 1945829 1945829 defendant Toynton Richard husbandman 586086 586086 Toynton, Richard, of hakthorn, husbandman 3
3762221 1945829 1945829 defendant Watson William fisher 586846 586846 Watson, William, of Lincoln, fisher 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.623ms