home / cp40x

names

8 rows where case_id = 2382946

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5088274 2382946 2382946 plaintiff Kersey John     Kersey, John 0
5088275 2382946 2382946 defendant Reder Richard husbandman 589258 589258 Reder, Richard, of Redgrave, husbandman 0
5088276 2382946 2382946 defendant Spycer Edmund chapman 592390 592390 Spycer, Edmund, of Dysse, Norf, chapman 1
5088277 2382946 2382946 defendant Scot Richard husbandman 588281 588281 Scot, Richard, of Wyngfeld, husbandman 2
5088278 2382946 2382946 defendant Albotle John carpenter 587418 587418 Albotle, John, of Dysse, carpenter 3
5088279 2382946 2382946 defendant Shardelowe John gent 587418 587418 Shardelowe, John, of Dysse, gent 4
5088280 2382946 2382946 defendant Fyske John pedder 587550 587550 Fyske, John, of Eye, pedder 5
5088281 2382946 2382946 defendant Byrlyngham William husbandman 586406 586406 Byrlyngham, William, of Hopton, husbandman 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 14.719ms