home / cp40x

names

6 rows where case_id = 2555031

✎ 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
5635378 2555031 2555031 plaintiff Webster William     Webster, William 0
5635379 2555031 2555031 defendant Parker Richard baker 603370 603370 Parker, Richard, of Lynne, baker 0
5635380 2555031 2555031 defendant Freman John waterman 594194 594194 Freman, John, of Wysbeche, Cams, waterman 1
5635381 2555031 2555031 defendant Bayerd John smith 600191 600191 Bayerd, John, of Wysbeche, smith 2
5635382 2555031 2555031 defendant Waverey Roger waterman 600191 600191 Waverey, Roger, of Wysbeche, waterman 3
5635383 2555031 2555031 defendant Baron Thomas ploughman 626228 626228 Baron, Thomas, of Cokthorp, ploughman 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 13.857ms