home / cp40x

names

7 rows where case_id = 1920861

✎ 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
3683186 1920861 1920861 plaintiff Vintoner John abbot of St Osithe Abbey   Vintoner, John, abbot of St Osithe Abbey 0
3683187 1920861 1920861 defendant Vynes Robert yeoman 610368 610368 Vynes, Robert, of Inford, yeoman 0
3683188 1920861 1920861 defendant Vynes John laborer 610368 610368 Vynes, John, of Inford, laborer 1
3683189 1920861 1920861 defendant Bocher John laborer 610368 610368 Bocher, John, of Inford, laborer 2
3683190 1920861 1920861 defendant Newman John smith 610368 610368 Newman, John, of Inford, smith 3
3683191 1920861 1920861 defendant Tye John laborer 610369 610369 Tye, John, of Salcote Vyrley, laborer 4
3683192 1920861 1920861 defendant Boyes Thomas husbandman 610370 610370 Boyes, Thomas, of Salcote, Wygbarough, 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 17.106ms