home / cp40x

names

6 rows where case_id = 1864910

✎ 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
3591314 1864910 1864910 plaintiff Drury Robert esq   Drury, Robert, esq 0
3591315 1864910 1864910 defendant Hewet Simon butcher 587408 587408 Hewet, Simon, of Iselham, Cams, butcher 0
3591316 1864910 1864910 defendant Corneforth Thomas barker 587407 587407 Corneforth, Thomas, of Wrydelyngton, barker 1
3591317 1864910 1864910 defendant Toppesfeld William butcher 587400 587400 Toppesfeld, William, of Coulynge, butcher 2
3591318 1864910 1864910 defendant Halle Simon clerk 587409 587409 Halle, Simon, of Stradyshull, clerk 3
3591319 1864910 1864910 defendant Chylde William brasier 586180 586180 Chylde, William, of Bury St Edmunds, brasier 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 15.724ms