home / cp40x

names

7 rows where case_id = 2342300

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4951071 2342300 2342300 plaintiff Piryhay Robert     Piryhay, Robert 0
4951072 2342300 2342300 defendant House John husbandman 592519 592519 House, John, of Wyke, husbandman 0
4951073 2342300 2342300 defendant Soute or Sonte Thomas husbandman 593625 593625 Soute or Sonte, Thomas, of Ile Abbots, husbandman 1
4951074 2342300 2342300 defendant Gibbis John husbandman 777084 777084 Gibbis, John, of Lenge, husbandman 2
4951075 2342300 2342300 defendant Sharp Humphrey fisher 679252 679252 Sharp, Humphrey, of Someton, fisher 3
4951076 2342300 2342300 defendant Smyth John (legal representative) 796561 796561 Smyth, John, of Shipton Beauchamp, executrix of 4
4951077 2342300 2342300 defendant Smyth Christine widow 801529 801529 Smyth, Christine, of Uphacche, widow 5

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 15.985ms