home / cp40x

names

6 rows where case_id = 1917229

✎ 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
3671955 1917229 1917229 plaintiff Cordigall Tristram     Cordigall, Tristram 0
3671956 1917229 1917229 defendant Gerarde Henry yeoman 608046 608046 Gerarde, Henry, of Keynton, yeoman 0
3671957 1917229 1917229 defendant Scat Henry baker 608049 608049 Scat, Henry, of Tyngmoth, baker 1
3671958 1917229 1917229 defendant Norton John carpenter 586834 586834 Norton, John, of Plymmouth, carpenter 2
3671959 1917229 1917229 defendant Pulman John husbandman 608050 608050 Pulman, John, of Comb Myntynhed, husbandman 3
3671960 1917229 1917229 defendant albroke John husbandman 608045 608045 albroke, John, of Kynges Teynton, 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 18.615ms