home / cp40x

names

8 rows where case_id = 2406155

✎ 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
5167254 2406155 2406155 plaintiff Coke John (legal representative)   Coke, John, executors of 0
5167255 2406155 2406155 plaintiff Grenfeld William     (Grenfeld, William 1
5167256 2406155 2406155 plaintiff Motte John     Motte, John 2
5167257 2406155 2406155 defendant Roper John husbandman 592690 592690 Roper, John, of Shefford, husbandman 0
5167258 2406155 2406155 defendant Kyrkeby Richard husbandman 587058 587058 Kyrkeby, Richard, of Sutton, husbandman 1
5167259 2406155 2406155 defendant Mauros John husbandman 586807 586807 Mauros, John, of Everton, Hunts, husbandman 2
5167260 2406155 2406155 defendant Eye William de husbandman 589072 589072 Eye, William de, of Sutton, Beds, husbandman 3
5167261 2406155 2406155 defendant Kybworth John husbandman 589072 589072 Kybworth, John, of Sutton, Beds, 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 14.455ms