home / cp40x

names

5 rows where case_id = 1980429

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3870658 1980429 1980429 plaintiff Yan Thomas pewterer 585869 585869 Yan, Thomas, of London, pewterer 0
3870659 1980429 1980429 defendant Kenard Richard pewterer 586809 586809 Kenard, Richard, of Wellys, Soms, pewterer 0
3870660 1980429 1980429 defendant Rogers Philip pewterer 642864 642864 Rogers, Philip, of Farnham, Hants, pewterer 1
3870661 1980429 1980429 defendant Leenes William husbandman 642865 642865 Leenes, William, of Kyngeslond, Middx, husbandman 2
3870662 1980429 1980429 defendant Thomson Thomas husbandman 642866 642866 Thomson, Thomas, of Yllyngton, Middx, husbandman 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 13.454ms