home / cp40x

names

6 rows where case_id = 1915534

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3666710 1915534 1915534 plaintiff Waller John attorney of the Bench   Waller, John, attorney of the Bench 0
3666711 1915534 1915534 defendant Ussherwoode Robert yeoman 606837 606837 Ussherwoode, Robert, of Levyngton, yeoman 0
3666712 1915534 1915534 defendant Curteys John yeoman 606837 606837 Curteys, John, of Levyngton, yeoman 1
3666713 1915534 1915534 defendant Denny Edmund husbandman 606838 606838 Denny, Edmund, of Monks Soham, husbandman 2
3666714 1915534 1915534 defendant Nicoll Robert yeoman 606839 606839 Nicoll, Robert, of Brundysshe, yeoman 3
3666715 1915534 1915534 defendant Nicoll George yeoman 587641 587641 Nicoll, George, of Tanyngton, yeoman 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.118ms