home / cp40x

names

9 rows where case_id = 2247231

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4654336 2247231 2247231 plaintiff Blyton William, senior   586846 586846 Blyton, William, senior, of Lincoln 0
4654337 2247231 2247231 defendant Rayner Robert thatcher 591175 591175 Rayner, Robert, of Foxton, thatcher 0
4654338 2247231 2247231 defendant Graveley John ploughman 591175 591175 Graveley, John, of Foxton, ploughman 1
4654339 2247231 2247231 defendant Baker John husbandman 591175 591175 Baker, John, of Foxton, husbandman 2
4654340 2247231 2247231 defendant Sympton John ploughman 701239 701239 Sympton, John, of Shepereth, ploughman 3
4654341 2247231 2247231 defendant Beton John ploughman 701239 701239 Beton, John, of Shepereth, ploughman 4
4654342 2247231 2247231 defendant Fuller John ploughman 701239 701239 Fuller, John, of Shepereth, ploughman 5
4654343 2247231 2247231 defendant Cassaundre Thomas ploughman 701239 701239 Cassaundre, Thomas, of Shepereth, ploughman 6
4654344 2247231 2247231 defendant Shepherd William husbandman 591175 591175 Shepherd, William, of Foxton, husbandman 7

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.288ms