home / cp40x

names

6 rows where case_id = 1978229

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3864228 1978229 1978229 plaintiff Lane John grocer 585869 585869 Lane, John, of London, grocer 0
3864229 1978229 1978229 defendant Raunden Ambrose clothier 641844 641844 Raunden, Ambrose, of Rounden, clothier 0
3864230 1978229 1978229 defendant Gryffyn George merchant 591567 591567 Gryffyn, George, of Wynchelsey, Sussex, merchant 1
3864231 1978229 1978229 defendant Glover Thomas chapman 641845 641845 Glover, Thomas, of Ayscheford, Kent, chapman 2
3864232 1978229 1978229 defendant Denys Thomas rector of Hunton, Kent   Denys, Thomas, rector of Hunton, Kent, executor of 3
3864233 1978229 1978229 defendant Jonys Roger clerk 606809 606809 Jonys, Roger, of Boxley, Kent, clerk 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 14.86ms