home / cp40x

names

5 rows where case_id = 1915086

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3665250 1915086 1915086 plaintiff Southwell Robert knight   Southwell, Robert, knight, executors of 0
3665251 1915086 1915086 plaintiff Urswyke Christopher clerk & Doctor of Law   (Urswyke, Christopher, clerk & Doctor of Law 1
3665252 1915086 1915086 plaintiff Wotton William brother   Wotton, William, brother 2
3665253 1915086 1915086 defendant Sheryngham William butcher 606452 606452 Sheryngham, William, of Hindolveston, butcher 0
3665254 1915086 1915086 defendant Hannes Thomas husbandman 606453 606453 Hannes, Thomas, of Thyryng, husbandman 1

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