home / cp40x

names

6 rows where case_id = 1916405

✎ 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
3669518 1916405 1916405 plaintiff Beynham Christopher knight   Beynham, Christopher, knight 0
3669519 1916405 1916405 defendant Briggeman John gent 607499 607499 Briggeman, John, of Magna Dene, Glos, gent 0
3669520 1916405 1916405 defendant Brayn Thomas gent 586382 586382 Brayn, Thomas, of Magna Dene, gent 1
3669521 1916405 1916405 defendant Woodward John gent 586382 586382 Woodward, John, of Magna Dene, gent 2
3669522 1916405 1916405 defendant Coke Henry   586382 586382 Coke, Henry, of Magna Dene, "smytholder" 3
3669523 1916405 1916405 defendant Dykke Philip smytholder 586382 586382 Dykke, Philip, of Magna Dene, smytholder 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 13.957ms