home / cp40x

names

6 rows where case_id = 2429322

✎ 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
5247144 2429322 2429322 plaintiff Smyth John, junior     Smyth, John, junior 0
5247145 2429322 2429322 defendant Parker William merchant 586782 586782 Parker, William, of Leystoft, merchant 0
5247146 2429322 2429322 defendant Olyne Thomas yeoman 591422 591422 Olyne, Thomas, of Candyssh, yeoman 1
5247147 2429322 2429322 defendant Asty William yeoman 591422 591422 Asty, William, of Candyssh, yeoman 2
5247148 2429322 2429322 defendant Lagard John miller 771872 771872 Lagard, John, of Cogsale, Essex, miller 3
5247149 2429322 2429322 defendant Grey John husbandman 863835 863835 Grey, John, of Candissh, husbandman 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 6.242ms