home / cp40x

names

6 rows where case_id = 2531673

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5589357 2531673 2531673 plaintiff Renell or Revell John     Renell or Revell, John 0
5589358 2531673 2531673 defendant Gladwyn Robert carpenter or housewright 903355 903355 Gladwyn, Robert, of Mannsfeld, Notts, carpenter or housewright 0
5589359 2531673 2531673 defendant Renell or Revell Thomas yeoman 587136 587136 Renell or Revell, Thomas, of Derby, yeoman 1
5589360 2531673 2531673 defendant Ive Richard   601413 601413 Ive, Richard, of Bealper, scythe smith 2
5589361 2531673 2531673 defendant Milner Henry   592500 592500 Milner, Henry, of Horseley, scythe smith 3
5589362 2531673 2531673 defendant Staunesby John   787691 787691 Staunesby, John, of Stanesby, scythe smith 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 17.309ms