home / cp40x

names

6 rows where case_id = 1922285

✎ 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
3687561 1922285 1922285 plaintiff Cleyton Edward     Cleyton, Edward 0
3687562 1922285 1922285 defendant Noble John   611243 611243 Noble, John, of Rechford, Wheelwright 0
3687563 1922285 1922285 defendant Fuller John   611243 611243 Fuller, John, of Rechford, parish clerk 1
3687564 1922285 1922285 defendant Prior Robert laborer 585950 585950 Prior, Robert, of Rayley, laborer 2
3687565 1922285 1922285 defendant Stukeley John laborer 585950 585950 Stukeley, John, of Rayley, laborer 3
3687566 1922285 1922285 defendant Burfeld Robert mariner 586682 586682 Burfeld, Robert, of Mylton, mariner 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 14.465ms