home / cp40x

names

8 rows where case_id = 2358976

✎ 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
5007136 2358976 2358976 plaintiff Smyth Thomas     Smyth, Thomas 0
5007137 2358976 2358976 plaintiff Bilche Thomas     Bilche, Thomas 1
5007138 2358976 2358976 plaintiff Goldston John     Goldston, John 2
5007139 2358976 2358976 plaintiff Wendy John     Wendy, John 3
5007140 2358976 2358976 defendant fitz Raff William gent 617472 617472 fitz Raff, William, of Aspeden, gent 0
5007141 2358976 2358976 defendant Archer William baker 617472 617472 Archer, William, of Aspeden, baker 1
5007142 2358976 2358976 defendant Thressher William butcher 589206 589206 Thressher, William, of Buntyngford, butcher 2
5007143 2358976 2358976 defendant Farneham John laborer 617472 617472 Farneham, John, of Aspeden, laborer 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.374ms