home / cp40x

names

7 rows where case_id = 2461623

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5354957 2461623 2461623 plaintiff Hosyer John     Hosyer, John 0
5354958 2461623 2461623 defendant Paylady Hugh husbandman 593964 593964 Paylady, Hugh, of Hardewyk, husbandman 0
5354959 2461623 2461623 defendant Frenell or Frevell John   616939 616939 Frenell or Frevell, John, of Wendlyngburgh, mason 1
5354960 2461623 2461623 defendant Makesey John husbandman 616939 616939 Makesey, John, of Wendlyngburgh, husbandman 2
5354961 2461623 2461623 defendant Est John (legal representative)   Est, John, executors of 3
5354962 2461623 2461623 defendant Reynold Robert husbandman 616939 616939 (Reynold, Robert, of Wendlyngburgh, husbandman 4
5354963 2461623 2461623 defendant Est Alice widow 616939 616939 Est, Alice, of Wendlyngburgh, 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.479ms