home / cp40x

names

7 rows where case_id = 2060513

✎ 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
4100523 2060513 2060513 plaintiff Jones Thomas gent   Jones, Thomas, gent 0
4100524 2060513 2060513 defendant Mayowe Thomas yeoman 658016 658016 Mayowe, Thomas, of Solers Hope, yeoman 0
4100525 2060513 2060513 defendant Mayowe Roger husbandman 658016 658016 Mayowe, Roger, of Solers Hope, husbandman 1
4100526 2060513 2060513 defendant Hooper or Whopper Richard husbandman 693617 693617 Hooper or Whopper, Richard, of Lowe Wolton, Magna Marcle, husbandman 2
4100527 2060513 2060513 defendant Hooper or Whopper William   598996 598996 Hooper or Whopper, William, of Magna Marcle, husbandman, his son 3
4100528 2060513 2060513 defendant Ashall Robert yeoman 693619 693619 Ashall, Robert, of Lower Wolton, Magna Marcle, yeoman 4
4100529 2060513 2060513 defendant Clarke James husbandman 693619 693619 Clarke, James, of Lower Wolton, Magna Marcle, husbandman 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 16.958ms