home / cp40x

names

6 rows where case_id = 2461266

✎ 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
5353830 2461266 2461266 plaintiff Grey Thomas Marquess of Dorset   Grey, Thomas, Marquess of Dorset 0
5353831 2461266 2461266 defendant Dynham Charles esq 876777 876777 Dynham, Charles, of Notwill, esq 0
5353832 2461266 2461266 defendant Vautard William gent 587224 587224 Vautard, William, of Otery St Mary, gent 1
5353833 2461266 2461266 defendant Clawe Richard yeoman 587224 587224 Clawe, Richard, of Otery St Mary, yeoman 2
5353834 2461266 2461266 defendant Hayne Edward yeoman 587224 587224 Hayne, Edward, of Otery St Mary, yeoman 3
5353835 2461266 2461266 defendant Holand Thomas gent 587224 587224 Holand, Thomas, of Otery St Mary, gent 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 13.201ms