home / cp40x

names

6 rows where case_id = 2312440

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4853273 2312440 2312440 plaintiff Willughby Hugh knight   Willughby, Hugh, knight 0
4853274 2312440 2312440 defendant Barker William tanner 770952 770952 Barker, William, of Loudham, tanner 0
4853275 2312440 2312440 defendant Webster William husbandman 605085 605085 Webster, William, of Rodyngton, husbandman 1
4853276 2312440 2312440 defendant Clarke John husbandman 812974 812974 Clarke, John, of Kewyth, husbandman 2
4853277 2312440 2312440 defendant Granger John husbandman 812975 812975 Granger, John, of Kewyth or Keyworth, husbandman 3
4853278 2312440 2312440 defendant Lees Ralph de husbandman 601376 601376 Lees, Ralph de, of Lenton, 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 13.86ms