home / cp40x

names

8 rows where place_id = 745787

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4368427 2153752 2153752 defendant Postlethwate William yeoman 745787 745787 Postlethwate, William, of Dregge, yeoman 0
4471084 2191615 2191615 defendant Leche William   745787 745787 Leche, William, of Dregge 0
4834085 2306667 2306667 defendant Wesyngton William chaplain 745787 745787 Wesyngton, William, of Dregge, chaplain 0
4834087 2306667 2306667 defendant Dewe Thomas yeoman 745787 745787 Dewe, Thomas, of Dregge, yeoman 2
4873356 2318622 2318622 defendant Bybby Robert yeoman 745787 745787 Bybby, Robert, of Dregge, yeoman 0
4873357 2318622 2318622 defendant Bybby Thomas yeoman 745787 745787 Bybby, Thomas, of Dregge, yeoman 1
4873358 2318622 2318622 defendant Bybby John yeoman 745787 745787 Bybby, John, of Dregge, yeoman 2
4873359 2318622 2318622 defendant Bybbt Richard yeoman 745787 745787 Bybbt, Richard, of Dregge, yeoman 3

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.672ms