home / cp40x

names

6 rows where case_id = 2302564

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, place_id

id ▼ case_id role surname forename occupation place_id raw_segment seq
4820745 2302564 2302564 defendant Bothe Thomas gent 807511 807511 Bothe, Thomas, of Fyndron, Derbs, gent 0
4820746 2302564 2302564 defendant Glaskeryon John yeoman 807512 807512 Glaskeryon, John, of Erleston, Derbs, yeoman 1
4820747 2302564 2302564 defendant Bradshawe John yeoman 807513 807513 Bradshawe, John, of Erlyston, yeoman 2
4820748 2302564 2302564 defendant Mercer Thomas yeoman 807513 807513 Mercer, Thomas, of Erlyston, yeoman 3
4820749 2302564 2302564 defendant Gaunt Robert yeoman 807514 807514 Gaunt, Robert, of Erbiston, yeoman 4
4820750 2302564 2302564 defendant Petre John servant of Thomas Fyndron   Petre, John, servant of Thomas Fyndron 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 12.911ms