home / cp40x

names

6 rows where case_id = 2412745

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5189743 2412745 2412745 plaintiff Laurence James     Laurence, James 0
5189744 2412745 2412745 defendant Atkynson Thomas yeoman 857617 857617 Atkynson, Thomas, of Dalacre, yeoman 0
5189745 2412745 2412745 defendant Atkynson John yeoman 670033 670033 Atkynson, John, of Sedbergh, Yorks, yeoman 1
5189746 2412745 2412745 defendant Atkynson Robert yeoman 628360 628360 Atkynson, Robert, of Sedbergh, yeoman 2
5189747 2412745 2412745 defendant Boure Christopher yeoman 628360 628360 Boure, Christopher, of Sedbergh, yeoman 3
5189748 2412745 2412745 defendant Byndelans William yeoman 670033 670033 Byndelans, William, of Sedbergh, Yorks, yeoman 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 16.315ms