home / cp40x

names

6 rows where case_id = 2468098

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5376033 2468098 2468098 plaintiff Ruynon William, senior gent 641786 641786 Ruynon, William, senior, of Shepton, gent 0
5376034 2468098 2468098 defendant Bray Robert mercer 603314 603314 Bray, Robert, of Warmyster, Wilts, mercer 0
5376035 2468098 2468098 defendant Beynton John yeoman 604261 604261 Beynton, John, of Wells, yeoman 1
5376036 2468098 2468098 defendant Mershefeld John husbandman 879885 879885 Mershefeld, John, of Stratton in Evercyrche, husbandman 2
5376037 2468098 2468098 defendant Sewale Thomas   604261 604261 Sewale, Thomas, of Wells, brandere or embroiderer 3
5376038 2468098 2468098 defendant Ruynon William, junior esq 879887 879887 Ruynon, William, junior, of Bykefeld, esq 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.039ms