home / cp40x

names

7 rows where case_id = 2428538

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5244377 2428538 2428538 plaintiff Person William tailor 585869 585869 Person, William, of London, tailor 0
5244378 2428538 2428538 defendant Bray Edward yeoman 585972 585972 Bray, Edward, of Abyngdon, Berks, yeoman 0
5244379 2428538 2428538 defendant Gray Reginald gent 643947 643947 Gray, Reginald, of Carleton, Beds, gent 1
5244380 2428538 2428538 defendant Bray Robert yeoman 589453 589453 Bray, Robert, of Abyngdon, yeoman 2
5244381 2428538 2428538 defendant Cooke William yeoman 863525 863525 Cooke, William, of Lye, Cornw, yeoman 3
5244382 2428538 2428538 defendant Grenefeld John (legal representative)   Grenefeld, John, executrix of 4
5244383 2428538 2428538 defendant Grenefeld Felicia widow 585951 585951 Grenefeld, Felicia, of Winchester, widow 5

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 13.558ms