home / cp40x

names

5 rows where case_id = 2389281

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5109756 2389281 2389281 plaintiff Godyng Thomas mercer 585869 585869 Godyng, Thomas, of London, mercer 0
5109757 2389281 2389281 defendant Wylkys Hugh yeoman 591951 591951 Wylkys, Hugh, of Briggenorth, Salop, yeoman 0
5109758 2389281 2389281 defendant Wylkyns John chapman 642063 642063 Wylkyns, John, of Momby, Lincs, chapman 1
5109759 2389281 2389281 defendant Asshewell Thomas chapman 593973 593973 Asshewell, Thomas, of Banbery, Oxon, chapman 2
5109760 2389281 2389281 defendant Fraunceys Walter clothman 595929 595929 Fraunceys, Walter, of Long Mylford, clothman 3

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 11.396ms