home / cp40x

names

8 rows where case_id = 2371572

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5049807 2371572 2371572 plaintiff Stokton Matilda (legal representative)   Stokton, Matilda, executors of 0
5049808 2371572 2371572 plaintiff Stokton John     (Stokton, John 1
5049809 2371572 2371572 plaintiff Stokton William     Stokton, William 2
5049810 2371572 2371572 plaintiff Colard Walter     Colard, Walter 3
5049811 2371572 2371572 defendant Clyfford Thomas brewer 595810 595810 Clyfford, Thomas, of Wyndesore, Berks, brewer 0
5049812 2371572 2371572 defendant Boston John yeoman 587237 587237 Boston, John, of Colbroke, yeoman 1
5049813 2371572 2371572 defendant Sherman Roger sheerman 595810 595810 Sherman, Roger, of Wyndesore, Berks, sheerman 2
5049814 2371572 2371572 defendant Thorp John yeoman 840152 840152 Thorp, John, of Little Sutht, yeoman 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 8.719ms