home / cp40x

names

5 rows where case_id = 1926677

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3701375 1926677 1926677 plaintiff Bowyer William draper 585869 585869 Bowyer, William, of London, draper 0
3701376 1926677 1926677 defendant Horsmonden Richard clothmaker 614002 614002 Horsmonden, Richard, of Gouthirst, Kent, clothmaker 0
3701377 1926677 1926677 defendant Edward Henry mercer 585925 585925 Edward, Henry, of Bristol, mercer 1
3701378 1926677 1926677 defendant Karcagge Gervase clothmaker 592909 592909 Karcagge, Gervase, of Cranbroke, Kent, clothmaker 2
3701379 1926677 1926677 defendant Dodson Robert dyer 587775 587775 Dodson, Robert, of Redyng, Berks, dyer 3

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 15.702ms