home / cp40x

names

6 rows where case_id = 2222202

✎ 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
4570038 2222202 2222202 plaintiff Wilford Thomas fishmonger 585869 585869 Wilford, Thomas, of London, fishmonger 0
4570039 2222202 2222202 defendant Langford John   591052 591052 Langford, John, of Barnet, Herts 0
4570040 2222202 2222202 defendant Kyng William   590050 590050 Kyng, William, of Trynge, Herts 1
4570041 2222202 2222202 defendant Shepherd Thomas   622311 622311 Shepherd, Thomas, of Chelsham, Surrey 2
4570042 2222202 2222202 defendant Merscham Hugh de   611755 611755 Merscham, Hugh de, of Surrey, quarry man 3
4570043 2222202 2222202 defendant Longe alias Shepherd Thomas   770663 770663 Longe alias Shepherd, Thomas, of Bromlee, Kent 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 14.165ms