home / cp40x

names

7 rows where case_id = 2272809

✎ 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
4724010 2272809 2272809 plaintiff Dynham John knight   Dynham, John, knight 0
4724011 2272809 2272809 defendant Huke Stephen jun, of Pynchelegh, laborer   Huke, Stephen, jun, of Pynchelegh, laborer 0
4724012 2272809 2272809 defendant Coche John husbandman 791454 791454 Coche, John, of Cardeman, husbandman 1
4724013 2272809 2272809 defendant Waryn Stephen laborer 791455 791455 Waryn, Stephen, of Shaldare, laborer 2
4724014 2272809 2272809 defendant Lokier William laborer 592069 592069 Lokier, William, of Warlegan, laborer 3
4724015 2272809 2272809 defendant atte Leye John laborer 636474 636474 atte Leye, John, of Brothek, laborer 4
4724016 2272809 2272809 defendant Cropp John laborer 786868 786868 Cropp, John, of Belesyk, laborer 5

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 12.346ms