home / cp40x

names

6 rows where case_id = 2288245

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4775218 2288245 2288245 plaintiff Whitchurche Richard     Whitchurche, Richard 0
4775219 2288245 2288245 defendant Lyndon William de skinner 591737 591737 Lyndon, William de, of Birmingham, skinner 0
4775220 2288245 2288245 defendant Glover William   591737 591737 Glover, William, of Birmingham, glove maker 1
4775221 2288245 2288245 defendant Dayntre John smith 800740 800740 Dayntre, John, of Duretende or Dirtend, smith 2
4775222 2288245 2288245 defendant Tulynolye William William, of Duretende, smith   Tulynolye, William, William, of Duretende, smith 3
4775223 2288245 2288245 defendant Fretter Thomas butcher 656891 656891 Fretter, Thomas, of Stratford upon Avon, butcher 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 17.08ms