home / cp40x

names

8 rows where case_id = 1957960

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3800112 1957960 1957960 plaintiff Lawes William (legal representative) 631367 631367 Lawes, William, of Burgh Parva juxta Melton, constable, executors of 0
3800113 1957960 1957960 plaintiff Stone Richard     (Stone, Richard 1
3800114 1957960 1957960 plaintiff Croft Henry     Croft, Henry 2
3800115 1957960 1957960 defendant Bosom John esq 591132 591132 Bosom, John, of Stodey, esq 0
3800116 1957960 1957960 defendant Branche John esq 592328 592328 Branche, John,of Wyssyngsett, esq 1
3800117 1957960 1957960 defendant Kent John laborer 591132 591132 Kent, John, of Stodey, laborer 2
3800118 1957960 1957960 defendant Cornysshe Thomas laborer 591132 591132 Cornysshe, Thomas, of Stodey, laborer 3
3800119 1957960 1957960 defendant Freman Robert laborer 591132 591132 Freman, Robert, of Stodey, laborer 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 22.927ms