home / cp40x

names

10 rows where case_id = 2424543

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5230519 2424543 2424543 plaintiff Baron John     Baron, John 0
5230520 2424543 2424543 defendant Pert William chapman 643922 643922 Pert, William, of Walton, Norf, chapman 0
5230521 2424543 2424543 defendant Barbour Robert yeoman 659088 659088 Barbour, Robert, of Shuldham, Norf, yeoman 1
5230522 2424543 2424543 defendant Thomas of Saxmondham husbandman   Thomas, of Saxmondham, husbandman 2
5230523 2424543 2424543 defendant Danyell Robert chapman 598296 598296 Danyell, Robert, of Spaldyng, Lincs, chapman 3
5230524 2424543 2424543 defendant Polyerde John yeoman 593660 593660 Polyerde, John, of Huntyngdon, Hunts, yeoman 4
5230525 2424543 2424543 defendant Barbour Simon yeoman 586158 586158 Barbour, Simon, of Shuldham, yeoman 5
5230526 2424543 2424543 defendant Midelton John yeoman 861970 861970 Midelton, John, of Sanceton, Cams, yeoman 6
5230527 2424543 2424543 defendant Mannesdon William yeoman 597465 597465 Mannesdon, William, of Ely, Cams, yeoman 7
5230528 2424543 2424543 defendant Andrewe John yeoman 636462 636462 Andrewe, John, of Waterbeche, Cams, yeoman 8

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