home / cp40x

names

7 rows where case_id = 2332817

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4920157 2332817 2332817 plaintiff Hungerford Walter knight   Hungerford, Walter, knight 0
4920158 2332817 2332817 defendant Hogekyns John husbandman 598486 598486 Hogekyns, John, of Chippenham, husbandman 0
4920159 2332817 2332817 defendant Berser Thomas husbandman 598486 598486 with Berser, Thomas, of Chippenham, husbandman 1
4920160 2332817 2332817 defendant Dyer Thomas husbandman 598486 598486 Dyer, Thomas, of Chippenham, husbandman 2
4920161 2332817 2332817 defendant Mody Richard chaplain 586555 586555 Mody, Richard, of Lye, chaplain 3
4920162 2332817 2332817 defendant Brekenham John husbandman 641175 641175 Brekenham, John, of Knyghton, husbandman 4
4920163 2332817 2332817 defendant Dagworth Richard tailor 598486 598486 Dagworth, Richard, of Chippenham, tailor 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 16.037ms