home / cp40x

names

5 rows where case_id = 2321613

✎ 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
4883018 2321613 2321613 plaintiff Clerk John clerk   Clerk, John, clerk 0
4883019 2321613 2321613 defendant Smert Richard yeoman 585972 585972 Smert, Richard, of Abyngdon, Berks, yeoman 0
4883020 2321613 2321613 defendant Brynkelowe Robert husbandman 816898 816898 Brynkelowe, Robert, of Neweton Langevyle, Bucks, husbandman 1
4883021 2321613 2321613 defendant Bye Richard husbandman 594302 594302 Bye, Richard, of North Aston, Oxon, husbandman 2
4883022 2321613 2321613 defendant atte Grange Robert husbandman 598222 598222 atte Grange, Robert, of Chorleton, husbandman 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 16.063ms