home / cp40x

names

6 rows where case_id = 2336501

✎ 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
4932290 2336501 2336501 plaintiff Wetherly Thomas esq & merchant 585936 585936 Wetherly, Thomas, of Norwich, esq & merchant 0
4932291 2336501 2336501 defendant Tabard Simon carpenter 585936 585936 Tabard, Simon, of Norwich, carpenter 0
4932292 2336501 2336501 defendant Marston John carpenter 585933 585933 Marston, John, of Great Yarmouth, carpenter 1
4932293 2336501 2336501 defendant Hewe Edmund butcher 585936 585936 Hewe, Edmund, of Norwich, butcher 2
4932294 2336501 2336501 defendant Norman John husbandman 590911 590911 Norman, John, of Rokelond, husbandman 3
4932295 2336501 2336501 defendant Aylemer Thomas husbandman 592443 592443 Aylemer, Thomas, of Surlyngham, 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 7.965ms