home / cp40x

names

9 rows where case_id = 2259629

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4680835 2259629 2259629 plaintiff Lyng Robert     Lyng, Robert, on his own account 0
4680836 2259629 2259629 defendant Bettys John   675833 675833 Bettys, John, of Mondham, vicar 0
4680837 2259629 2259629 defendant Astebury Hugh clerk 783151 783151 Astebury, Hugh, of Foleham, clerk 1
4680838 2259629 2259629 defendant Smyth John husbandman 586940 586940 Smyth, John, of Baldeswell, husbandman 2
4680839 2259629 2259629 defendant Smyth Thomas husbandman 586940 586940 Smyth, Thomas, of Baldeswell, husbandman 3
4680840 2259629 2259629 defendant Talwyn John yeoman 586043 586043 Talwyn, John, of Reymerston, yeoman 4
4680841 2259629 2259629 defendant Strangrene Nicholas clerk 590844 590844 Strangrene, Nicholas, of Lyng, clerk 5
4680842 2259629 2259629 defendant Turpyn John butcher 652592 652592 Turpyn, John, of Skeyton, butcher 6
4680843 2259629 2259629 defendant Lone or Love Thomas yeoman 601721 601721 Lone or Love, Thomas, of Buxston, yeoman 7

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