home / cp40x

names

6 rows where case_id = 2427026

✎ 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
5239090 2427026 2427026 plaintiff Helowe John clerk   Helowe, John, clerk 0
5239091 2427026 2427026 defendant Saynton Robert   592418 592418 Saynton, Robert, of Tykhill, Yorks, mason 0
5239092 2427026 2427026 defendant Chapman John yeoman 830100 830100 Chapman, John, of Laghton in Mournyng, Yorks, yeoman 1
5239093 2427026 2427026 defendant Jakson John husbandman 597000 597000 Jakson, John, of Claworth, husbandman 2
5239094 2427026 2427026 defendant Doyle John husbandman 622943 622943 Doyle, John, of Hayton, husbandman 3
5239095 2427026 2427026 defendant atte Welle William husbandman 592735 592735 atte Welle, William, of Everton, 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 11.847ms