home / cp40x

names

5 rows where case_id = 2165488

✎ 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
4402702 2165488 2165488 plaintiff Parre John     Parre, John 0
4402703 2165488 2165488 defendant Hayne William merchant 653259 653259 Hayne, William, of Ivell, Soms, merchant 0
4402704 2165488 2165488 defendant Corteys Richard yeoman 607107 607107 Corteys, Richard, of Plymouth, Devon, yeoman 1
4402705 2165488 2165488 defendant Dabbyns John yeoman 724573 724573 Dabbyns, John, of Chidleigh, Devon, yeoman 2
4402706 2165488 2165488 defendant Elles Robert clerk 751668 751668 Elles, Robert, of Hills Bishoppe, Soms, clerk 3

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