home / cp40x

names

6 rows where case_id = 2417835

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5207156 2417835 2417835 plaintiff Manyngham John     Manyngham, John 0
5207157 2417835 2417835 defendant Kempster William husbandman 857742 857742 Kempster, William, of Flytwyke, Beds, husbandman 0
5207158 2417835 2417835 defendant Wellys William carpenter 603464 603464 Wellys, William, of Bedford, Beds, carpenter 1
5207159 2417835 2417835 defendant Crase John   591592 591592 Crase, John, of Houghton Conquest, Beds, parson 2
5207160 2417835 2417835 defendant Whetston Thomas yeoman 587398 587398 Whetston, Thomas, of Luton, Beds, yeoman 3
5207161 2417835 2417835 defendant Barbour Roger barber 593495 593495 Barbour, Roger, of Luton, barber 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 16.214ms