home / cp40x

names

8 rows where case_id = 2371727

✎ 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
5050341 2371727 2371727 plaintiff Threlkeld Henry knight   Threlkeld, Henry, knight 0
5050342 2371727 2371727 defendant Barnes John yeoman 840254 840254 Barnes, John, of Fawefyd, yeoman 0
5050343 2371727 2371727 defendant Tomson Roger yeoman 765542 765542 Tomson, Roger, of Borowedale, yeoman 1
5050344 2371727 2371727 defendant Fournes William yeoman 808382 808382 Fournes, William, of Troutbek, yeoman 2
5050345 2371727 2371727 defendant Jakson Thomas yeoman 840255 840255 Jakson, Thomas, of Skelmershe, yeoman 3
5050346 2371727 2371727 defendant Robynson John yeoman 840256 840256 Robynson, John, of Whynfeld, yeoman 4
5050347 2371727 2371727 defendant Robynson Roland yeoman 840256 840256 Robynson, Roland, of Whynfeld, yeoman 5
5050348 2371727 2371727 defendant Aykryk Robert   840257 840257 Aykryk, Robert, of Dokker, ye 6

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.467ms