home / cp40x

names

5 rows where case_id = 1965644

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3824829 1965644 1965644 plaintiff Wilson Richard     Wilson, Richard 0
3824830 1965644 1965644 defendant Broke Roger yeoman 610607 610607 Broke, Roger, of Huddersfeld, yeoman 0
3824831 1965644 1965644 defendant Broke John yeoman 635346 635346 Broke, John, of Newmylne, Birton, yeoman 1
3824832 1965644 1965644 defendant Broke William yeoman 610607 610607 Broke, William, of Huddersfeld, yeoman 2
3824833 1965644 1965644 defendant Berdsill George yeoman 588420 588420 Berdsill, George, of Holme, 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 12.553ms