home / cp40x

names

10 rows where case_id = 2049817

✎ 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
4070693 2049817 2049817 plaintiff Maye Henry     Maye, Henry 0
4070694 2049817 2049817 defendant Wyll Nicholas husbandman 641886 641886 Wyll, Nicholas, of Cardenham, husbandman 0
4070695 2049817 2049817 defendant Gylbert John husbandman 641886 641886 Gylbert, John, of Cardenham, husbandman 1
4070696 2049817 2049817 defendant Wyll Thomas husbandman 641886 641886 Wyll, Thomas, of Cardenham, husbandman 2
4070697 2049817 2049817 defendant Will Michael laborer 641886 641886 Will, Michael, of Cardenham, laborer 3
4070698 2049817 2049817 defendant William William weaver 641886 641886 William, William, of Cardenham, weaver 4
4070699 2049817 2049817 defendant Gilbert George laborer 641886 641886 Gilbert, George, of Cardenham, laborer 5
4070700 2049817 2049817 defendant Roger William yeoman 592069 592069 Roger, William, of Warlegan, yeoman 6
4070701 2049817 2049817 defendant Wtll Alice spinster 592069 592069 Wtll, Alice, of Warlegan, spinster 7
4070702 2049817 2049817 defendant Roger Edward laborer 592069 592069 Roger, Edward, of Warlegan, laborer 8

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