home / cp40x

names

9 rows where case_id = 1976845

✎ 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
3859996 1976845 1976845 plaintiff Corbet John, junior gent   Corbet, John, junior, gent 0
3859997 1976845 1976845 defendant Chapman John yeoman 637982 637982 Chapman, John, of Gaywode, yeoman 0
3859998 1976845 1976845 defendant Lawes Thomas husbandman 593282 593282 Lawes, Thomas, of Drayton, husbandman 1
3859999 1976845 1976845 defendant Skele John mercer 585907 585907 Skele, John, of Bishops Lenn, mercer 2
3860000 1976845 1976845 defendant Bustyng William grocer 585936 585936 Bustyng, William, of Norwich, grocer 3
3860001 1976845 1976845 defendant Kynsman Geoffrey clerk 587058 587058 Kynsman, Geoffrey, of Sutton, clerk 4
3860002 1976845 1976845 defendant Petynghale Thomas beer brewer 585936 585936 Petynghale, Thomas, of Norwich, beer brewer 5
3860003 1976845 1976845 defendant Goodfrey Roger   609606 609606 Goodfrey, Roger, of Resseham, collar maker 6
3860004 1976845 1976845 defendant Fayreman John husbandman 589306 589306 Fayreman, John, of Catfeld, husbandman 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 16.717ms