home / cp40x

names

6 rows where case_id = 2360292

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5011765 2360292 2360292 plaintiff Wolleman Geoffrey grocer 585869 585869 Wolleman, Geoffrey, of London, grocer 0
5011766 2360292 2360292 defendant Brady William chapman 834865 834865 Brady, William, of Kyrkeby, in Kendale, Westmorlan, chapman 0
5011767 2360292 2360292 defendant Taverner William vintner 585936 585936 Taverner, William, of Norwich, vintner 1
5011768 2360292 2360292 defendant Roser or Rofer Thomas chapman 601889 601889 Roser or Rofer, Thomas, of Ipswich, Suff, chapman 2
5011769 2360292 2360292 defendant Couper John chapman 638015 638015 Couper, John, of Dysse, Suff, chapman 3
5011770 2360292 2360292 defendant Wyche John fuller 585871 585871 Wyche, John, of Taunton, Soms, fuller 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.286ms