home / cp40x

names

6 rows where case_id = 2193944

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4478484 2193944 2193944 plaintiff Hert John   600289 600289 Hert, John, of Lenne, on his own account 0
4478485 2193944 2193944 defendant Buntyngford Robert clerk   Buntyngford, Robert, clerk 0
4478486 2193944 2193944 defendant Hayreman John   624411 624411 Hayreman, John, of Trompyngton 1
4478487 2193944 2193944 defendant Tuwe John   761383 761383 Tuwe, John, of Asshewell. Margery, his wife 2
4478488 2193944 2193944 defendant Cook John   588081 588081 Cook, John, of Cambridge 3
4478489 2193944 2193944 defendant Smyth John   761384 761384 Smyth, John, of Wr--- 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 16.697ms