home / cp40x

names

6 rows where case_id = 1932164

✎ 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
3718811 1932164 1932164 plaintiff Glover John     Glover, John 0
3718812 1932164 1932164 defendant Stonhurst Richard husbandman 606553 606553 Stonhurst, Richard, of Arley, husbandman 0
3718813 1932164 1932164 defendant Grene John husbandman 611853 611853 Grene, John, of Fyllyngley, husbandman 1
3718814 1932164 1932164 defendant Grendon Hugh tailor 604100 604100 Grendon, Hugh, of Colshyll, tailor 2
3718815 1932164 1932164 defendant Scryvener John husbandman 604100 604100 Scryvener, John, of Colshyll, husbandman 3
3718816 1932164 1932164 defendant Smyth John husbandman 617305 617305 Smyth, John, of Water Overton, 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 15.808ms