home / cp40x

names

6 rows where case_id = 2527374

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5575329 2527374 2527374 plaintiff Sparowe Robert     Sparowe, Robert 0
5575330 2527374 2527374 defendant Averey Richard yeoman 590126 590126 Averey, Richard, of Maydstone, yeoman 0
5575331 2527374 2527374 defendant Kyngeswell John barber 658910 658910 Kyngeswell, John, of Battle, Sussex, barber 1
5575332 2527374 2527374 defendant Tomson William yeoman 595873 595873 Tomson, William, of Newynden, yeoman 2
5575333 2527374 2527374 defendant Joce Robert clothmaker 585863 585863 Joce, Robert, of Bedynden, clothmaker 3
5575334 2527374 2527374 defendant Ryggewey Robert yeoman 901851 901851 Ryggewey, Robert, of Apuldour, 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 13.113ms