home / cp40x

names

6 rows where case_id = 1910139

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3649196 1910139 1910139 plaintiff Peterson Reginald     Peterson, Reginald 0
3649197 1910139 1910139 defendant Briggis Richard dyer 589936 589936 Briggis, Richard, of Suthwerk St Olav, dyer 0
3649198 1910139 1910139 defendant Dale Robert   589936 589936 Dale, Robert, of Suthwerk St Olav, shipwright 1
3649199 1910139 1910139 defendant Grenewod John brasier 586487 586487 Grenewod, John, of Suthwerk, brasier 2
3649200 1910139 1910139 defendant Dale William   589936 589936 Dale, William, of Suthwerk St Olav, shipwright 3
3649201 1910139 1910139 defendant Smyth John tailor 599243 599243 Smyth, John, of Newyngton, tailor 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.149ms