home / cp40x

names

6 rows where case_id = 1864786

✎ 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
3590912 1864786 1864786 plaintiff Danyell William grocer 585869 585869 Danyell, William, of London, grocer 0
3590913 1864786 1864786 defendant Spycer John mercer 587251 587251 Spycer, John, of Marleburgh, Wilts, mercer 0
3590914 1864786 1864786 defendant Rugge Walter clothman 587252 587252 Rugge, Walter, of Stoke juxta Clare, Essex, clothman 1
3590915 1864786 1864786 defendant Lyle Nicholas   587253 587253 Lyle, Nicholas, of Thruxton, Hants, knight 2
3590916 1864786 1864786 defendant Thomas Richard yeoman 586022 586022 Thomas, Richard, of Lutterworth, Leics, yeoman 3
3590917 1864786 1864786 defendant Romond William yeoman 587254 587254 Romond, William, of Exmouth, Devon, yeoman 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.923ms