home / cp40x

names

7 rows where case_id = 2325420

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4896023 2325420 2325420 plaintiff Morland John   590660 590660 Morland, John, of Carlisle 0
4896024 2325420 2325420 defendant Bourestede John yeoman 789002 789002 Bourestede, John, of Langholm, yeoman 0
4896025 2325420 2325420 defendant Symson Robert yeoman 797889 797889 Symson, Robert, of Raughton Hede, yeoman 1
4896026 2325420 2325420 defendant Tomson Henry husbandman 769512 769512 Tomson, Henry, of Roweclyf, husbandman 2
4896027 2325420 2325420 defendant Mewerons Thomas yeoman 818661 818661 Mewerons, Thomas, of Sourebywode, yeoman 3
4896028 2325420 2325420 defendant Tomson Adam yeoman 818662 818662 Tomson, Adam, of Southscale, yeoman 4
4896029 2325420 2325420 defendant Prestman John yeoman 756499 756499 Prestman, John, of Caldebek, yeoman 5

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