home / cp40x

names

6 rows where case_id = 1993351

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3909126 1993351 1993351 plaintiff Seth John     Seth, John 0
3909127 1993351 1993351 defendant Chapman Oliver smith 599252 599252 Chapman, Oliver, of Myddelton, smith 0
3909128 1993351 1993351 defendant Bretten Peter laborer 600465 600465 Bretten, Peter, of Morston, laborer 1
3909129 1993351 1993351 defendant Foxe Richard laborer 649901 649901 Foxe, Richard, of Sythingbourne, laborer 2
3909130 1993351 1993351 defendant Bekett John laborer 589972 589972 Bekett, John, of Borden, laborer 3
3909131 1993351 1993351 defendant Boote Robert husbandman 589336 589336 Boote, Robert, of Stokbery, husbandman 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 14.513ms