home / cp40x

names

5 rows where case_id = 2095217

✎ 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
4199027 2095217 2095217 plaintiff Greene John     Greene, John 0
4199028 2095217 2095217 defendant Wheler John smith 713418 713418 Wheler, John, of Dytchett, smith 0
4199029 2095217 2095217 defendant Dawe Thomas smith 703350 703350 Dawe, Thomas, of South Cadburye, smith 1
4199030 2095217 2095217 defendant Cutler Nicholas smith 592497 592497 Cutler, Nicholas, of Marston, smith 2
4199031 2095217 2095217 defendant Powell or Poyll William clerk 686867 686867 Powell or Poyll, William, of Marstone, clerk 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 12.426ms