home / cp40x

names

10 rows where case_id = 1957976

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3800172 1957976 1957976 plaintiff Lee Edmund     Lee, Edmund 0
3800173 1957976 1957976 plaintiff Rolett Ralph     Rolett, Ralph 1
3800174 1957976 1957976 plaintiff Palterton John     Palterton, John 2
3800175 1957976 1957976 plaintiff Freend John     Freend, John 3
3800176 1957976 1957976 plaintiff Cokes William     Cokes, William 4
3800177 1957976 1957976 plaintiff Merre William     Merre, William 5
3800178 1957976 1957976 defendant Grice William laborer 631373 631373 Grice, William, of Lamgrike, laborer 0
3800179 1957976 1957976 defendant Grice Thomas husbandman 596963 596963 Grice, Thomas, of Barley, husbandman 1
3800180 1957976 1957976 defendant Kendall William fisher 596963 596963 Kendall, William, of Barley, fisher 2
3800181 1957976 1957976 defendant Todd Abram glover 631374 631374 Todd, Abram, of Cotes juxta Snath, glover 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 17.623ms