home / cp40x

names

6 rows where case_id = 1869929

✎ 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
3607237 1869929 1869929 plaintiff Rede John alderman 585936 585936 Rede, John, of Norwich, alderman 0
3607238 1869929 1869929 defendant Melton Edmund gent 591891 591891 Melton, Edmund, of Colney, gent 0
3607239 1869929 1869929 defendant Lyng Thomas chaplain 585936 585936 Lyng, Thomas, of Norwich, chaplain 1
3607240 1869929 1869929 defendant Paye Robert gent 590301 590301 Paye, Robert, of Hoxon, gent 2
3607241 1869929 1869929 defendant Waryn John yeoman 587418 587418 Waryn, John, of Dysse, yeoman 3
3607242 1869929 1869929 defendant Halywell John yeoman 592294 592294 Halywell, John, of Bromholme, yeoman 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.024ms