home / cp40x

names

6 rows where case_id = 2244923

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4646064 2244923 2244923 plaintiff Pepyr John     Pepyr, John 0
4646065 2244923 2244923 defendant Hatton Henry   633759 633759 Hatton, Henry, of Radford 0
4646066 2244923 2244923 defendant Sybthorp John butcher   Sybthorp, John, butcher 1
4646067 2244923 2244923 defendant Thorp John   586778 586778 Thorp, John, of Byngham 2
4646068 2244923 2244923 defendant Cache John butcher 597387 597387 Cache, John, of Southwell, butcher 3
4646069 2244923 2244923 defendant Skepper John   777508 777508 Skepper, John, of Briggeford 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 16.607ms