home / cp40x

names

7 rows where case_id = 2281125

✎ 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
4752234 2281125 2281125 plaintiff Sutton Robert     Sutton, Robert, on his own account 0
4752235 2281125 2281125 defendant Kyng John chapman 796691 796691 Kyng, John, of Munkys Illey, Suff, chapman 0
4752236 2281125 2281125 defendant Milk William yeoman 600461 600461 Milk, William, of Ilsyngton, yeoman 1
4752237 2281125 2281125 defendant Eston Geoffrey of Holme yeoman   Eston, Geoffrey of Holme, yeoman 2
4752238 2281125 2281125 defendant Neweon John yeoman 794437 794437 Neweon, John, of North Runton, yeoman 3
4752239 2281125 2281125 defendant Ryall Walter yeoman 628017 628017 Ryall, Walter, of East Wynche, yeoman 4
4752240 2281125 2281125 defendant Danyell John yeoman 594764 594764 Danyell, John, of Walsokyn, yeoman 5

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.275ms