home / cp40x

names

8 rows where case_id = 2322433

✎ 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
4885808 2322433 2322433 plaintiff Hampeden John esq   Hampeden, John, esq 0
4885809 2322433 2322433 defendant Dalowe Alan yeoman 589604 589604 Dalowe, Alan, of Broughton, yeoman 0
4885810 2322433 2322433 defendant Crodelyng John chapman 588719 588719 Crodelyng, John, of Neuport Paynell, chapman 1
4885811 2322433 2322433 defendant Wryght Walter tailor 588719 588719 Wryght, Walter, of Neuport Paynell, tailor 2
4885812 2322433 2322433 defendant Luffe Simon husbandman 598055 598055 Luffe, Simon, of Braunfeld, husbandman 3
4885813 2322433 2322433 defendant Dawebeney John husbandman 625164 625164 Dawebeney, John, of Masworth, husbandman 4
4885814 2322433 2322433 defendant Aleyn Thomas husbandman 625164 625164 Aleyn, Thomas, of Masworth, husbandman 5
4885815 2322433 2322433 defendant Godeman John yeoman 760806 760806 Godeman, John, of Ayllesbury, yeoman 6

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 11.644ms