home / cp40x

names

6 rows where case_id = 2507791

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5509404 2507791 2507791 plaintiff Fuller William   585869 585869 Fuller, William, of London, ironmonger, administrators of 0
5509405 2507791 2507791 plaintiff Petyt William     (Petyt, William 1
5509406 2507791 2507791 defendant Strong John smith 591521 591521 Strong, John, of Thakstede, Essex, smith 0
5509407 2507791 2507791 defendant Pery Peter smith 894761 894761 Pery, Peter, of Hatfeld Brodecke, Essex, smith 1
5509408 2507791 2507791 defendant Frenssh John smith 894762 894762 Frenssh, John, of Chapyng Walden, Essex, smith 2
5509409 2507791 2507791 defendant Rokell John yeoman 876062 876062 Rokell, John, of Neuport Pond, Essex, 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 14.348ms