home / cp40x

names

10 rows where case_id = 2535542

✎ 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
5602058 2535542 2535542 plaintiff Lyttelton Edward     Lyttelton, Edward 0
5602059 2535542 2535542 defendant Stanley John esq 601503 601503 Stanley, John, of Pype, esq 0
5602060 2535542 2535542 defendant Gerard Henry gent 587826 587826 Gerard, Henry, of Lychefeld, gent 1
5602061 2535542 2535542 defendant Wyrrall John butcher 587826 587826 Wyrrall, John, of Lychefeld, butcher 2
5602062 2535542 2535542 defendant Luter Walter tailor 587826 587826 Luter, Walter, of Lychefeld,tailor 3
5602063 2535542 2535542 defendant Prykett Hugh courser 587826 587826 Prykett, Hugh, of Lychefeld, courser 4
5602064 2535542 2535542 defendant Clerke William vintner 587826 587826 Clerke, William, of Lychefeld, vintner 5
5602065 2535542 2535542 defendant Wycam Thomas miller 587826 587826 Wycam, Thomas, of Lychefeld, miller 6
5602066 2535542 2535542 defendant Tatton Ralph yeoman 587826 587826 Tatton, Ralph, of Lychefeld, yeoman 7
5602067 2535542 2535542 defendant Webbe Hugh yeoman 597815 597815 Webbe, Hugh, of Edyall, yeoman 8

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