home / cp40x

names

6 rows where case_id = 2301430

✎ 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
4817047 2301430 2301430 plaintiff (not given)   abbot of Meaux or Melsa   Meaux or Melsa, abbot of 0
4817048 2301430 2301430 defendant Raynes Stephen husbandman 589402 589402 Raynes, Stephen, of Patryngton, husbandman 0
4817049 2301430 2301430 defendant Smyth Stephen husbandman 806880 806880 Smyth, Stephen, of Wynsedes or Winsestead, husbandman 1
4817050 2301430 2301430 defendant Inthehirne William husbandman 793458 793458 Inthehirne, William, of Tharsthorp, husbandman 2
4817051 2301430 2301430 defendant Paynes Peter husbandman 806881 806881 Paynes, Peter, of Ptrayngton, husbandman 3
4817052 2301430 2301430 defendant Watty William husbandman 593113 593113 Watty, William, of Grymesby, 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 15.167ms