home / cp40x

names

6 rows where case_id = 2222368

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4570564 2222368 2222368 plaintiff Wych William   589999 589999 Wych, William, of Lenn 0
4570565 2222368 2222368 defendant Deye Thomas   657845 657845 Deye, Thomas, of West Wynch 0
4570566 2222368 2222368 defendant Smyth John   592221 592221 Smyth, John, of Westacre 1
4570567 2222368 2222368 defendant Goldsmyth Roger mercer   Goldsmyth, Roger, mercer, executors of 2
4570568 2222368 2222368 defendant Goldsmyth Amice formerly wife of Roger   (Goldsmyth, Amice, formerly wife of Roger 3
4570569 2222368 2222368 defendant Goldsmyth John     Goldsmyth, John 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.435ms