home / cp40x

names

7 rows where case_id = 2311706

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4850817 2311706 2311706 plaintiff (not given)   abbot of Tilteia   Tilteia, abbot of 0
4850818 2311706 2311706 defendant Trope John, sen   754489 754489 Trope, John, sen, of Dokesworth 0
4850819 2311706 2311706 defendant Godyn Ralph     Godyn, Ralph 1
4850820 2311706 2311706 defendant Robynet William   789281 789281 Robynet, William, of Dokesworth or Duxworth 2
4850821 2311706 2311706 defendant Byggyng John   625631 625631 Byggyng, John, of Duxworth 3
4850822 2311706 2311706 defendant Crosse John   754489 754489 Crosse, John, of Dokesworth 4
4850823 2311706 2311706 defendant Malt John   754489 754489 Malt, John, of Dokesworth 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 16.135ms