home / cp40x

names

6 rows where case_id = 1994755

✎ 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
3913227 1994755 1994755 plaintiff Barwyke Robert   611346 611346 Barwyke, Robert, of Swafham Markett 0
3913228 1994755 1994755 defendant Holland Thomas husbandman 650634 650634 Holland, Thomas, of West Lexam, husbandman 0
3913229 1994755 1994755 defendant Redrose Robert tailor 638684 638684 Redrose, Robert, of Neyton, tailor 1
3913230 1994755 1994755 defendant Moryalle John laborer 638684 638684 Moryalle, John, of Neyton, laborer 2
3913231 1994755 1994755 defendant Mendam Henry husbandman 588540 588540 Mendam, Henry, of Parva Dunham, husbandman 3
3913232 1994755 1994755 defendant Marten William   587209 587209 Marten, William, of Marham, shepherd 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 16.292ms