home / cp40x

names

7 rows where case_id = 2529030

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5580647 2529030 2529030 plaintiff Carnebull Henry clerk   Carnebull, Henry, clerk 0
5580648 2529030 2529030 defendant Gelston Richard yeoman 586608 586608 Gelston, Richard, of Newerk, Notts, yeoman 0
5580649 2529030 2529030 defendant Michell Richard   587948 587948 Michell, Richard, of Newerk, freemason 1
5580650 2529030 2529030 defendant Brewester John yeoman 721823 721823 Brewester, John, of Suthwell, Notts, yeoman 2
5580651 2529030 2529030 defendant Colyns Martin clerk   Colyns, Martin, clerk, executors of 3
5580652 2529030 2529030 defendant Barry Robert clerk 586067 586067 (Barry, Robert, of York, clerk 4
5580653 2529030 2529030 defendant Water Thomas gent 586067 586067 Water, Thomas, of York, gent 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 17.765ms