home / cp40x

names

6 rows where case_id = 2357904

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5003443 2357904 2357904 plaintiff Partryche Thomas grocer 585869 585869 Partryche, Thomas, of London, grocer 0
5003444 2357904 2357904 defendant Carre Nicholas mercer 781524 781524 Carre, Nicholas, of Coventry, Warws, mercer 0
5003445 2357904 2357904 defendant Estmnd John carrier 833574 833574 Estmnd, John, of Vyse or Devizes, Wilts, carrier 1
5003446 2357904 2357904 defendant Coudlon William baker 780266 780266 Coudlon, William, of Gloucester, Gloucs, baker 2
5003447 2357904 2357904 defendant Walford Richard dyer 781524 781524 Walford, Richard, of Coventry, Warws, dyer 3
5003448 2357904 2357904 defendant Wade Robert dyer 596528 596528 Wade, Robert, of Wytney, Oxon, dyer 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 15.186ms