home / cp40x

names

6 rows where case_id = 2161984

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4392100 2161984 2161984 plaintiff Est Robert     Est, Robert 0
4392101 2161984 2161984 plaintiff Skidmore William     Skidmore, William 1
4392102 2161984 2161984 defendant Thorne Richard yeoman 587335 587335 Thorne, Richard, of Henley on Thames, Oxon, yeoman 0
4392103 2161984 2161984 defendant Awsten Richard blacksmith 587776 587776 Awsten, Richard, of New Braynford, Middx, blacksmith 1
4392104 2161984 2161984 defendant Williams Humphrey brewer 594028 594028 Williams, Humphrey, of New Braynford, brewer 2
4392105 2161984 2161984 defendant Colshill John innholder 594028 594028 Colshill, John, of New Braynford, innholder 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.396ms