home / cp40x

names

10 rows where case_id = 2460306

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5350611 2460306 2460306 plaintiff Copley Roger     Copley, Roger 0
5350612 2460306 2460306 defendant Pope John yeoman 876396 876396 Pope, John, of Wodhacche, Reygate, yeoman 0
5350613 2460306 2460306 defendant Weller John laborer 589607 589607 together with Weller, John, of Reygate, laborer 1
5350614 2460306 2460306 defendant Agodsalfe John laborer 589607 589607 Agodsalfe, John, of Reygate, laborer 2
5350615 2460306 2460306 defendant Smyth Robert sawyer 589607 589607 Smyth, Robert, of Reygate, sawyer 3
5350616 2460306 2460306 defendant Ricroft William yeoman 593160 593160 Ricroft, William, of Dorkyng, yeoman 4
5350617 2460306 2460306 defendant Wilcok William smoemaker 593160 593160 Wilcok, William, of Dorkyng, smoemaker 5
5350618 2460306 2460306 defendant Burnell John draper 593160 593160 Burnell, John, of Dorkyng, draper 6
5350619 2460306 2460306 defendant Drayton John miller 593160 593160 Drayton, John, of Dorkyng, miller 7
5350620 2460306 2460306 defendant Weller Richard laborer 876397 876397 Weller, Richard, of hedlay, laborer 8

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.498ms