home / cp40x

names

6 rows where case_id = 1976967

✎ 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
3860377 1976967 1976967 plaintiff Cutteras John     Cutteras, John 0
3860378 1976967 1976967 defendant Hovell Stephen husbandman 611465 611465 Hovell, Stephen, of Cartlyng, Cams, husbandman 0
3860379 1976967 1976967 defendant Kytterych William smith 588645 588645 Kytterych, William, of Clare, smith 1
3860380 1976967 1976967 defendant Kytterych Robert butcher 611467 611467 Kytterych, Robert, of Cartlyng, butcher 2
3860381 1976967 1976967 defendant Thowrnall Thomas husbandman 624216 624216 Thowrnall, Thomas, of Parva Abyngton, Cams, husbandman 3
3860382 1976967 1976967 defendant Fulwell Stephen husbandman 592176 592176 Fulwell, Stephen, of Lynton, Cams, 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 15.256ms