home / cp40x

names

7 rows where case_id = 2139456

✎ 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
4327295 2139456 2139456 plaintiff Fletcher Edward (legal representative)   Fletcher, Edward, administrator of 0
4327296 2139456 2139456 plaintiff Savadge Thomas     Savadge, Thomas 1
4327297 2139456 2139456 defendant Buck John innholder 737905 737905 Buck, John, of Swaith, Yorks, innholder 0
4327298 2139456 2139456 defendant Blandell Thomas gent 585869 585869 Blandell, Thomas, of London, gent 1
4327299 2139456 2139456 defendant Birkbeck Anthony gent 684655 684655 Birkbeck, Anthony, of Hornby, Yorks, gent 2
4327300 2139456 2139456 defendant Letchworth John (legal representative) 609542 609542 Letchworth, John, of Rotheram, Yorks, gent, administrator of 3
4327301 2139456 2139456 defendant Letchworth of Rotheram gent   Letchworth, of Rotheram, gent 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 8.693ms