home / cp40x

names

9 rows where case_id = 2383777

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5091039 2383777 2383777 plaintiff Morland William     Morland, William 0
5091040 2383777 2383777 defendant Mason Roger yeoman 845280 845280 Mason, Roger, of Crosseby Ravensworth, yeoman 0
5091041 2383777 2383777 defendant Dyconson John yeoman 790602 790602 Dyconson, John, of Odlyngdale, yeoman 1
5091042 2383777 2383777 defendant Smythson Richard yeoman 789571 789571 Smythson, Richard, of Slegyll, yeoman 2
5091043 2383777 2383777 defendant Jenkynson Robert yeoman 632016 632016 Jenkynson, Robert, of Hakthorp, yeoman 3
5091044 2383777 2383777 defendant Roche Stephen gent 587935 587935 Roche, Stephen, of Colby, gent 4
5091045 2383777 2383777 defendant Wilson John husbandman 845281 845281 Wilson, John, of Whale, husbandman 5
5091046 2383777 2383777 defendant Wilson Hugh husbandman 845281 845281 Wilson, Hugh, of Whale, husbandman 6
5091047 2383777 2383777 defendant Wildyng William husbandman 845282 845282 Wildyng, William, of Haltonfletham, husbandman 7

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.469ms