home / cp40x

names

6 rows where case_id = 2288906

✎ 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
4777345 2288906 2288906 plaintiff Attilburgh Reginald     Attilburgh, Reginald 0
4777346 2288906 2288906 defendant del Vykers John gent 599035 599035 del Vykers, John, of Retford, Notts, gent 0
4777347 2288906 2288906 defendant Pleseley William mercer 597343 597343 Pleseley, William, of Retford, mercer 1
4777348 2288906 2288906 defendant Ferrour or Smith Henry husbandman 616277 616277 Ferrour or Smith, Henry, of Wylmecote, husbandman 2
4777349 2288906 2288906 defendant Heyne John husbandman 591103 591103 Heyne, John, of Attilburgh, husbandman 3
4777350 2288906 2288906 defendant Taillour Henry husbandman 801042 801042 Taillour, Henry, of Heygham, Leics, husbandman 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.047ms