home / cp40x

names

6 rows where case_id = 2411178

✎ 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
5184405 2411178 2411178 plaintiff Ederych Thomas     Ederych, Thomas 0
5184406 2411178 2411178 defendant Martyn Edmund husbandman 622362 622362 Martyn, Edmund, of Asshewelthorp, husbandman 0
5184407 2411178 2411178 defendant Walter William butcher 586365 586365 Walter, William, of Wymondham, butcher 1
5184408 2411178 2411178 defendant Feke Richard butcher 586365 586365 Feke, Richard, of Wymondham, butcher 2
5184409 2411178 2411178 defendant Grene William yeoman 588542 588542 Grene, William, of Carleton Rode, yeoman 3
5184410 2411178 2411178 defendant Amy William yeoman 587414 587414 Amy, William, of Thetford, yeoman 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 8.761ms