home / cp40x

names

6 rows where case_id = 1917331

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3672281 1917331 1917331 plaintiff Crosswell John     Crosswell, John 0
3672282 1917331 1917331 defendant Wall George yeoman 606463 606463 Wall, George, of Inmey, yeoman 0
3672283 1917331 1917331 defendant Davys Roger laborer 597577 597577 Davys, Roger, of Hanbury, laborer 1
3672284 1917331 1917331 defendant Bedyll Richard miller 608127 608127 Bedyll, Richard, of Kyddermynster, miller 2
3672285 1917331 1917331 defendant Banard William husbandman 608128 608128 Banard, William, of Hymbylton, husbandman 3
3672286 1917331 1917331 defendant Yate Roger husbandman 597577 597577 Yate, Roger, of Hanbury, 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.84ms