home / cp40x

names

6 rows where case_id = 2420299

✎ 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
5215643 2420299 2420299 plaintiff (not given) Alexander abbot of Combe Abbey   Combe Abbey, Alexander, abbot of 0
5215644 2420299 2420299 defendant Tounesend Richard yeoman 841425 841425 Tounesend, Richard, of Naseby, Nhants, yeoman 0
5215645 2420299 2420299 defendant Deyster John yeoman 860226 860226 Deyster, John, of Lankton, Leics, yeoman 1
5215646 2420299 2420299 defendant Potrewes Richard yeoman 860227 860227 Potrewes, Richard, of Kelmersshe, Nhants, yeoman 2
5215647 2420299 2420299 defendant Horsley William dyer 586117 586117 Horsley, William, of Coventry, dyer 3
5215648 2420299 2420299 defendant Mollesley Thomas husbandman 621300 621300 Mollesley, Thomas, of Wolvey, husbandman 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 14.41ms