home / cp40x

names

7 rows where case_id = 2340576

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4945513 2340576 2340576 plaintiff Hopton John esq   Hopton, John, esq 0
4945514 2340576 2340576 defendant Maydon Roger yeoman 588968 588968 Maydon, Roger, of Blythburgh, yeoman 0
4945515 2340576 2340576 defendant Aleyn John glover 592325 592325 Aleyn, John, of Blytheburgh, glover 1
4945516 2340576 2340576 defendant Taillour John, junior yeoman 592325 592325 Taillour, John, junior, of Blytheburgh, yeoman 2
4945517 2340576 2340576 defendant Baker Ralph baker 592325 592325 Baker, Ralph, of Blytheburgh, baker 3
4945518 2340576 2340576 defendant Scot John baker 592325 592325 Scot, John, of Blytheburgh, baker 4
4945519 2340576 2340576 defendant Brokle Robert laborer 588748 588748 Brokle, Robert, of Hunton, laborer 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 14.668ms