home / cp40x

names

7 rows where case_id = 2386715

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5101028 2386715 2386715 plaintiff Ansty or Austy John, junior     Ansty or Austy, John, junior 0
5101029 2386715 2386715 plaintiff Willes William     Willes, William 1
5101030 2386715 2386715 defendant Herman Geoffrey husbandman 846439 846439 Herman, Geoffrey, of Bergh juxt Apton, husbandman 0
5101031 2386715 2386715 defendant Turnour Thomas husbandman 846439 846439 Turnour, Thomas, of Bergh juxt Apton, husbandman 1
5101032 2386715 2386715 defendant Palmer Henry husbandman 590966 590966 Palmer, Henry, of Byntre, husbandman 2
5101033 2386715 2386715 defendant Fen Simon husbandman 586940 586940 Fen, Simon, of Baldeswell, husbandman 3
5101034 2386715 2386715 defendant Suffeld Peter husbandman 586940 586940 Suffeld, Peter, of Baldeswell, husbandman 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 17.212ms