home / cp40x

names

6 rows where case_id = 2413100

✎ 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
5190949 2413100 2413100 plaintiff Manyngham John esq   Manyngham, John, esq 0
5190950 2413100 2413100 defendant Kempster William husbandman 857742 857742 Kempster, William, of Flytwyke, Beds, husbandman 0
5190951 2413100 2413100 defendant Wellys William carpenter 586079 586079 Wellys, William, of Bedford, carpenter 1
5190952 2413100 2413100 defendant Crase John   591592 591592 Crase, John, of Houghton Conquest, Beds, parson 2
5190953 2413100 2413100 defendant Whetston Thomas yeoman 587398 587398 Whetston, Thomas, of Luton, Beds, yeoman 3
5190954 2413100 2413100 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 15.183ms