home / cp40x

names

6 rows where case_id = 2420785

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5217271 2420785 2420785 plaintiff Everyngham Thomas     Everyngham, Thomas 0
5217272 2420785 2420785 defendant Spenser William butcher 586117 586117 Spenser, William, of Coventry, butcher 0
5217273 2420785 2420785 defendant Eme Robert   586117 586117 Eme, Robert, of Coventry, card maker 1
5217274 2420785 2420785 defendant Shaper Thomas yeoman 860417 860417 Shaper, Thomas, of Whithibroke, yeoman 2
5217275 2420785 2420785 defendant Moderey John clerk 592734 592734 Moderey, John, of Misterton, Leics, clerk 3
5217276 2420785 2420785 defendant Hacoke John husbandman 586117 586117 Hacoke, John, of Coventry, 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 14.687ms