home / cp40x

names

7 rows where case_id = 2275274

✎ 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
4732277 2275274 2275274 plaintiff Oxenham Thomas     Oxenham, Thomas 0
4732278 2275274 2275274 defendant Ridon John husbandman 613317 613317 Ridon, John, of Bridford, husbandman 0
4732279 2275274 2275274 defendant Smyth John   613317 613317 Smyth, John, of Bridford, yeoman, son of William 1
4732280 2275274 2275274 defendant Oxenham John (legal representative)   Oxenham, John, executor of 2
4732281 2275274 2275274 defendant Oxenham Richard yeoman 592653 592653 Oxenham, Richard, of South Tauton, yeoman 3
4732282 2275274 2275274 defendant Marchant Walter (legal representative)   Marchant, Walter, executor of 4
4732283 2275274 2275274 defendant Rowe William merchant 770643 770643 Rowe, William, of Lostwithiell, Cornwall, merchant 5

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.56ms