home / cp40x

names

6 rows where case_id = 2535320

✎ 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
5601368 2535320 2535320 plaintiff Kyng Richard merchant 586180 586180 Kyng, Richard, of Bury St Edmunds, merchant 0
5601369 2535320 2535320 defendant Bestney Thomas yeoman 585937 585937 Bestney, Thomas, of Bylston, yeoman 0
5601370 2535320 2535320 defendant Cosyn John husbandman 904691 904691 Cosyn, John, of Barton Myllys juxta Myldenhale, husbandman 1
5601371 2535320 2535320 defendant Ballard Robert baker 590243 590243 Ballard, Robert, of Newmarket, baker 2
5601372 2535320 2535320 defendant Ilger Robert husbandman 619574 619574 Ilger, Robert, of Wykham Broke, husbandman 3
5601373 2535320 2535320 defendant Almer William husbandman 624733 624733 Almer, William, of Assheley, Cams, 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 15.635ms