home / cp40x

names

6 rows where case_id = 2367785

✎ 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
5037316 2367785 2367785 plaintiff White Thomas draper 586070 586070 White, Thomas, of Beverley, draper 0
5037317 2367785 2367785 defendant Tailour Richard yeoman or porter 595856 595856 Tailour, Richard, of Alnewyk, Northumb, yeoman or porter 0
5037318 2367785 2367785 defendant Carre John gent 838044 838044 Carre, John, of Cheburn, Northumb, gent 1
5037319 2367785 2367785 defendant Galon Richard gent 838045 838045 Galon, Richard, of Sharperton, Northumb, gent 2
5037320 2367785 2367785 defendant Galon William yeoman 838046 838046 Galon, William, of Sherperton, yeoman 3
5037321 2367785 2367785 defendant Donham John baker 586070 586070 Donham, John, of Beverley, baker 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 12.065ms