home / cp40x

names

7 rows where case_id = 2525321

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5568451 2525321 2525321 plaintiff Forde John     Forde, John 0
5568452 2525321 2525321 defendant Aleyn John merchant 602759 602759 Aleyn, John, of Dertmouth, merchant 0
5568453 2525321 2525321 defendant Whyte William weaver 587714 587714 Whyte, William, of Assheberton, weaver 1
5568454 2525321 2525321 defendant Whyte William husbandman 901028 901028 Whyte, William, of Whyterygge, husbandman 2
5568455 2525321 2525321 defendant Spencer John chaplain 618005 618005 Spencer, John, of Brussheford, Soms, chaplain 3
5568456 2525321 2525321 defendant Battyshyll Robert husbandman 634848 634848 Battyshyll, Robert, of South Taunton, husbandman 4
5568457 2525321 2525321 defendant Battyshyll John husbandman 634848 634848 Battyshyll, John, of South Taunton, husbandman 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 6.897ms