home / cp40x

names

6 rows where case_id = 2332943

✎ 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
4920560 2332943 2332943 plaintiff Jere John     Jere, John 0
4920561 2332943 2332943 defendant Crukern John gent 666457 666457 Crukern, John, of Crukern, soms, gent 0
4920562 2332943 2332943 defendant Smyth William husbandman 822236 822236 Smyth, William, of Brydford, Devon, husbandman 1
4920563 2332943 2332943 defendant Sachevile Ralphd Okeford, Devon, husbandman   Sachevile, Ralphd, Okeford, Devon, husbandman 2
4920564 2332943 2332943 defendant atte Wyne Richard husbandman 642255 642255 atte Wyne, Richard, of Tyverton, Devon, husbandman 3
4920565 2332943 2332943 defendant Bele William yeoman 718957 718957 Bele, William, of Exminster, yeoman 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 6.987ms