home / cp40x

names

9 rows where case_id = 2398196

✎ 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
5140056 2398196 2398196 plaintiff Stathum John (legal representative) 593728 593728 Stathum, John, of Horsley, executors of 0
5140057 2398196 2398196 plaintiff Stathum Thomas     (Stathum, Thomas 1
5140058 2398196 2398196 plaintiff Stathum Nicholas     Stathum, Nicholas 2
5140059 2398196 2398196 plaintiff Barley William     Barley, William 3
5140060 2398196 2398196 plaintiff Barley Elizabeth formerly wife of Testator   Elizabeth, his wife, formerly wife of Testator 4
5140061 2398196 2398196 defendant Barker William fishmonger 586608 586608 Barker, William, of Newerk, Notts, fishmonger 0
5140062 2398196 2398196 defendant Barker James glover 587948 587948 Barker, James, of Newerk, glover 1
5140063 2398196 2398196 defendant Spelesby John dyer 587948 587948 Spelesby, John, of Newerk, dyer 2
5140064 2398196 2398196 defendant Charley Robert yeoman 851986 851986 Charley, Robert, of Estwell, Notts, 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.389ms