home / cp40x

names

6 rows where case_id = 2417438

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5205813 2417438 2417438 plaintiff Hirst John chaplain   Hirst, John, chaplain 0
5205814 2417438 2417438 defendant Holy Richard husbandman 603049 603049 Holy, Richard, of Elton, Nhants, husbandman 0
5205815 2417438 2417438 defendant Bate Robert clerk 657158 657158 Bate, Robert, of Billyng, Nhants, clerk 1
5205816 2417438 2417438 defendant Crane Robert   792233 792233 Crane, Robert, of Leighton Buzzard, Bucks , chopchirche 2
5205817 2417438 2417438 defendant Crane John   859264 859264 Crane, John, of Leighton Buzzard, chopchirche, formerly mercer 3
5205818 2417438 2417438 defendant Zouche Richard   592568 592568 Zouche, Richard, of Rokyngham, Nhants, hermit 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.388ms