home / cp40x

names

5 rows where case_id = 1997318

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3920850 1997318 1997318 plaintiff Nicholson William (legal representative)   Nicholson, William, executrix of 0
3920851 1997318 1997318 plaintiff Nycholson Elizabeth widow   Nycholson, Elizabeth, widow 1
3920852 1997318 1997318 defendant Coxson Alice spinster 586750 586750 Coxson, Alice, of Surflete, spinster 0
3920853 1997318 1997318 defendant Dowsby John laborer 586750 586750 Dowsby, John, of Surflete, laborer 1
3920854 1997318 1997318 defendant Johnson Helen spinster 586750 586750 Johnson, Helen, of Surflete, spinster 2

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 12.596ms