home / cp40x

names

6 rows where case_id = 1977031

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3860574 1977031 1977031 plaintiff Deavby Robert     Deavby, Robert 0
3860575 1977031 1977031 defendant Barrett William yeoman 640055 640055 Barrett, William, of Mowlsham, yeoman 0
3860576 1977031 1977031 defendant Dalay Henry dyer 587249 587249 Dalay, Henry, of Chelmesford, dyer 1
3860577 1977031 1977031 defendant Gybson Richard husbandman 589766 589766 Gybson, Richard, of Chyknale St James, husbandman 2
3860578 1977031 1977031 defendant Lytyll Andrew husbandman 592459 592459 Lytyll, Andrew, of Danbery, husbandman 3
3860579 1977031 1977031 defendant Cornysshe John husbandman 588991 588991 Cornysshe, John, of Magna Waltham, 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 16.481ms