home / cp40x

names

6 rows where case_id = 2438148

✎ 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
5276325 2438148 2438148 plaintiff Walter Richard ironmonger 585869 585869 Walter, Richard, of London, ironmonger 0
5276326 2438148 2438148 defendant Peeche William smith 586528 586528 Peeche, William, of Ware, Herts, smith 0
5276327 2438148 2438148 defendant Pycoll William smith 594630 594630 Pycoll, William, of Leyghton Busard, Beds, smith 1
5276328 2438148 2438148 defendant Archer alias Wilmot John maltman 777338 777338 Archer alias Wilmot, John, of Leighton Buzzard, Beds, maltman 2
5276329 2438148 2438148 defendant Thaytht Richard smith 587398 587398 Thaytht, Richard, of Luton, Beds, smith 3
5276330 2438148 2438148 defendant Sleper John ostler 587301 587301 Sleper, John, of Dunstable, Beds, ostler 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.131ms