home / cp40x

names

8 rows where case_id = 2393541

✎ 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
5124233 2393541 2393541 plaintiff Yates John     Yates, John 0
5124234 2393541 2393541 defendant Rolandson Richard mercer 587167 587167 Rolandson, Richard, of Parva Walsyngham, mercer 0
5124235 2393541 2393541 defendant Leget Robert chapman 849162 849162 Leget, Robert, of Great Armouth, chapman 1
5124236 2393541 2393541 defendant Mundes William fishmonger 587167 587167 Mundes, William, of Parva Walsyngham, fishmonger 2
5124237 2393541 2393541 defendant Pilche William yeoman 587172 587172 Pilche, William, of Est Derham, yeoman 3
5124238 2393541 2393541 defendant Smethes Robert yeoman 588355 588355 Smethes, Robert, of South Elmham, Suff, yeoman 4
5124239 2393541 2393541 defendant Godfrey Walter husbandman 588542 588542 Godfrey, Walter, of Carleton Rode, husbandman 5
5124240 2393541 2393541 defendant Lynsted Edmund husbandman 594410 594410 Lynsted, Edmund, of Happesburgh, husbandman 6

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