home / cp40x

names

6 rows where case_id = 2440212

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5283444 2440212 2440212 plaintiff Etwell Henry     Etwell, Henry 0
5283445 2440212 2440212 defendant Wolseley Ralph gent 585869 585869 Wolseley, Ralph, of London, gent 0
5283446 2440212 2440212 defendant Fraunces William yeoman 591530 591530 Fraunces, William, of New Wyndesore, Berks, yeoman 1
5283447 2440212 2440212 defendant Claymond Robert saddler 585869 585869 Claymond, Robert, of London, saddler 2
5283448 2440212 2440212 defendant Barbour Thomas barber 586033 586033 Barbour, Thomas, of Westminster, barber 3
5283449 2440212 2440212 defendant Virly John husbandman 839457 839457 Virly, John, of Catworth, Nhants, husbandman 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 13.477ms