home / cp40x

names

8 rows where case_id = 2208204

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4525133 2208204 2208204 plaintiff Hynton Richard   596734 596734 Hynton, Richard, of Dymmok 0
4525134 2208204 2208204 defendant Penbrugge John     Penbrugge, John 0
4525135 2208204 2208204 defendant Dru John     Dru, John 1
4525136 2208204 2208204 defendant Dull Walter   624481 624481 Dull, Walter, of Neulond 2
4525137 2208204 2208204 defendant Adames John   624481 624481 Adames, John, of Neulond 3
4525138 2208204 2208204 defendant Norton Henry   624481 624481 Norton, Henry, of Neulond 4
4525139 2208204 2208204 defendant Baker Richard   624481 624481 Baker, Richard, of Neulond 5
4525140 2208204 2208204 defendant Waryn Richard   643955 643955 Waryn, Richard, of Ruarden 6

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