home / cp40x

names

8 rows where case_id = 2211668

✎ 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
4536394 2211668 2211668 plaintiff Stachum Thomas de     Stachum, Thomas de 0
4536395 2211668 2211668 defendant Smyth John   597093 597093 Smyth, John, of Wyrkesworth 0
4536396 2211668 2211668 defendant Smyth William   597093 597093 Smyth, William, of Wyrkesworth 1
4536397 2211668 2211668 defendant Bolley Thomas de     Bolley, Thomas de 2
4536398 2211668 2211668 defendant Husbond John   588411 588411 Husbond, John, of Irton 3
4536399 2211668 2211668 defendant Grensmyth Robert     Grensmyth, Robert 4
4536400 2211668 2211668 defendant Potter John   597093 597093 Potter, John, of Wyrkesworth 5
4536401 2211668 2211668 defendant Couper John   588960 588960 Couper, John, of Byggyng 6

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