home / cp40x

names

6 rows where case_id = 2207938

✎ 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
4524303 2207938 2207938 plaintiff Hoenesbegh John     Hoenesbegh, John 0
4524304 2207938 2207938 defendant Jeyberd Richard     Jeyberd, Richard 0
4524305 2207938 2207938 defendant Fayesang Richard     Fayesang, Richard 1
4524306 2207938 2207938 defendant Dyer Walter   746519 746519 Dyer, Walter, of Sturminster Newton Castle 2
4524307 2207938 2207938 defendant Bet Walter butcher   Bet, Walter, butcher 3
4524308 2207938 2207938 defendant Frank William   766097 766097 Frank, William, of Estcryche 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 16.046ms