home / cp40x

names

7 rows where case_id = 2284831

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4764297 2284831 2284831 plaintiff Hay William (legal representative) 812274 812274 Hay, William, of St Clement Danes, without London's new Temple Bar, skinner, executors of 0
4764298 2284831 2284831 plaintiff White John     (White, John 1
4764299 2284831 2284831 plaintiff White Margaret formerly wife of William Haye   Margaret, his wife, formerly wife of William Haye 2
4764300 2284831 2284831 defendant Balham John skinner 798867 798867 Balham, John, of Plymton Earl, Devon, skinner 0
4764301 2284831 2284831 defendant Martyn Richard (legal representative) 594598 594598 Martyn, Richard, of Bray, executors of 1
4764302 2284831 2284831 defendant Sape Walter gent 593654 593654 (Sape, Walter, of Bray, Berks, gent 2
4764303 2284831 2284831 defendant Sape Elizabeth formerly wife of Richard Martyn   Elizabeth, his wife, formerly wife of Richard Martyn 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 13.477ms