home / cp40x

names

6 rows where case_id = 2279143

✎ 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
4745320 2279143 2279143 plaintiff Galbrugg Thomas     Galbrugg, Thomas, on his own account 0
4745321 2279143 2279143 defendant Godrich William husbandman 795278 795278 Godrich, William, of Homme by Cheltenham, husbandman 0
4745322 2279143 2279143 defendant Turnour William husbandman 795279 795279 Turnour, William, of Dounhanam, husbandman 1
4745323 2279143 2279143 defendant Piers Richard husbandman 586958 586958 Piers, Richard, of Gloucester, husbandman 2
4745324 2279143 2279143 defendant Chiltenham John husbandman 755384 755384 Chiltenham, John, of Chiltenham, husbandman 3
4745325 2279143 2279143 defendant Porche Thomas yeoman 586162 586162 Porche, Thomas, of Evesham, Worcs, yeoman 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 8.751ms