home / cp40x

names

6 rows where case_id = 2381507

✎ 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
5083301 2381507 2381507 plaintiff Eytherst John   587585 587585 Eytherst, John, of Tenham 0
5083302 2381507 2381507 defendant atte Seathe Simon husbandman 788555 788555 atte Seathe, Simon, of Lodenham, husbandman 0
5083303 2381507 2381507 defendant Lytelwode William laborer 593171 593171 Lytelwode, William, of Milton, laborer 1
5083304 2381507 2381507 defendant Lovell Lawrence ostler 594733 594733 Lovell, Lawrence, of Sydyngbourne, ostler 2
5083305 2381507 2381507 defendant Colyn Henry hosier 641518 641518 Colyn, Henry, of Smerdon, hosier 3
5083306 2381507 2381507 defendant Marchall John miller 588831 588831 Marchall, John, of Egerton, miller 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.272ms