home / cp40x

names

9 rows where case_id = 2293423

✎ 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
4791454 2293423 2293423 plaintiff Lyng Robert     Lyng, Robert 0
4791455 2293423 2293423 defendant Redere John   802825 802825 Redere, John, of Haydon, sleighwright 0
4791456 2293423 2293423 defendant Nicolas William chaplain 802826 802826 Nicolas, William, of Feldellyng, chaplain 1
4791457 2293423 2293423 defendant Pouyanunt William yeoman 801081 801081 Pouyanunt, William, of Aillesham, yeoman 2
4791458 2293423 2293423 defendant Spyser John flaxman 587836 587836 Spyser, John, of Folsham, flaxman 3
4791459 2293423 2293423 defendant Gardener Simon butcher 587836 587836 Gardener, Simon, of Folsham, butcher 4
4791460 2293423 2293423 defendant Prestman John laborer 587836 587836 Prestman, John, of Folsham, laborer 5
4791461 2293423 2293423 defendant Turpyng Thomas yeoman 652592 652592 Turpyng, Thomas, of Skeyton, yeoman 6
4791462 2293423 2293423 defendant Colet Nicholas loader 585936 585936 Colet, Nicholas, of Norwich, loader 7

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