home / cp40x

names

6 rows where case_id = 2105161

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4227665 2105161 2105161 plaintiff Jones Henry (legal representative)   Jones, Henry, administrator of 0
4227666 2105161 2105161 plaintiff Barbor William     Barbor, William 1
4227667 2105161 2105161 defendant Hunte Thomas yeoman 586033 586033 Hunte, Thomas, of Westminster, yeoman 0
4227668 2105161 2105161 defendant Ibberson William baker 719016 719016 Ibberson, William, of Turnmyll Streete, Middx, baker 1
4227669 2105161 2105161 defendant Wrighte Roger tailor 689832 689832 Wrighte, Roger, of Grayes inn Lane, Middx, tailor 2
4227670 2105161 2105161 defendant Lighterfoote John yeoman 719017 719017 Lighterfoote, John, of Kentishe Towne, Middx, yeoman 3

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.847ms