home / cp40x

names

6 rows where case_id = 2462269

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5357063 2462269 2462269 plaintiff Mery John, junior   877155 877155 Mery, John, junior, of Northhawe 0
5357064 2462269 2462269 defendant Doo Hugh collier 586058 586058 Doo, Hugh, of Enfeld, Middx, collier 0
5357065 2462269 2462269 defendant Wygyn William maltman 586058 586058 Wygyn, William, of Enfeld, Middx, maltman 1
5357066 2462269 2462269 defendant Forde John butcher 877156 877156 Forde, John, of Denfeld, butcher 2
5357067 2462269 2462269 defendant Savage John yeoman 877157 877157 Savage, John, of Heryngey, Middx, yeoman 3
5357068 2462269 2462269 defendant Shrubbe John innholder 586528 586528 Shrubbe, John, of Ware, Herts, innholder 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 12.827ms