home / cp40x

names

6 rows where case_id = 1997488

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3921361 1997488 1997488 plaintiff Payne Thomas gent 586780 586780 Payne, Thomas, of Northales, gent 0
3921362 1997488 1997488 defendant Bolyaunt Edward yeoman 586241 586241 Bolyaunt, Edward, of Wrentham, yeoman 0
3921363 1997488 1997488 defendant Tebold Thomas yeoman 586241 586241 Tebold, Thomas, of Wrentham, yeoman 1
3921364 1997488 1997488 defendant Broune Christopher husbandman 586241 586241 Broune, Christopher, of Wrentham, husbandman 2
3921365 1997488 1997488 defendant Humfrey Thomas clerk 586241 586241 Humfrey, Thomas, of Wrentham, clerk 3
3921366 1997488 1997488 defendant Brosche Robert mariner 586780 586780 Brosche, Robert, of Northales, mariner 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 16.697ms