home / cp40x

names

5 rows where case_id = 2006044

✎ 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
3947078 2006044 2006044 plaintiff Chester William knight, of London, alderman   Chester, William, knight, of London, alderman 0
3947079 2006044 2006044 defendant Trevelacke John merchant 636291 636291 Trevelacke, John, of Tregney, Cornw, merchant 0
3947080 2006044 2006044 defendant Proctour Robert merchant 628701 628701 Proctour, Robert, of Tregney, merchant 1
3947081 2006044 2006044 defendant Browne Thomas merchant 628701 628701 Browne, Thomas, of Tregney, merchant 2
3947082 2006044 2006044 defendant Garraway John   594111 594111 Garraway, John, of Acton, Middx, mechant of the staple, the younger 3

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 12.098ms