home / cp40x

names

8 rows where case_id = 2015677

✎ 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
3974584 2015677 2015677 plaintiff Herbert William Earl of Pembroke   Herbert, William, Earl of Pembroke 0
3974585 2015677 2015677 defendant Williams Walter gent 659179 659179 Williams, Walter, of Llangome, gent 0
3974586 2015677 2015677 defendant Gillam or William Thomas shoemaker 594816 594816 Gillam or William, Thomas, of Monmouth, shoemaker 1
3974587 2015677 2015677 defendant Lawrens Thomas yeoman 664878 664878 Lawrens, Thomas, of Llannyhangell Tormuth, yeoman 2
3974588 2015677 2015677 defendant Robert Philip yeoman 592518 592518 Robert, Philip, of Carlyon, yeoman 3
3974589 2015677 2015677 defendant Bale Thomas yeoman 592518 592518 Bale, Thomas, of Carlyon, yeoman 4
3974590 2015677 2015677 defendant Edward Howell yeoman 641901 641901 Edward, Howell, of Uske, yeoman 5
3974591 2015677 2015677 defendant Rees John yeoman 649463 649463 Rees, John, of Wondy, yeoman 6

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 10.31ms