home / cp40x

names

9 rows where case_id = 2248774

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4659291 2248774 2248774 plaintiff de Bethome Robert     de Bethome, Robert 0
4659292 2248774 2248774 defendant Gibson William chapman 608035 608035 Gibson, William, of Lancaster, chapman 0
4659293 2248774 2248774 defendant Gibson John chapman 779143 779143 Gibson, John, of Lonesdale, Westmor, chapman 1
4659294 2248774 2248774 defendant Gibson Nicholas chapman 608035 608035 Gibson, Nicholas, of Lancaster, chapman 2
4659295 2248774 2248774 defendant Nicolson Gilbert chapman 779144 779144 Nicolson, Gilbert, of Irchonheved, chapman 3
4659296 2248774 2248774 defendant Stevenson Thomas yeoman 779145 779145 Stevenson, Thomas, of Ingelton, Yorks, yeoman 4
4659297 2248774 2248774 defendant de Moyser William husbandman 619824 619824 de Moyser, William, of Kendale, husbandman 5
4659298 2248774 2248774 defendant Hirde Robert husbandman 619824 619824 Hirde, Robert, of Kendale, husbandman 6
4659299 2248774 2248774 defendant Collan William husbandman 586000 586000 Collan, William, of Magna Strikland, husbandman 7

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 15.893ms