home / cp40x

names

7 rows where case_id = 2224629

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4578012 2224629 2224629 plaintiff Chepman Benedict     Chepman, Benedict 0
4578013 2224629 2224629 defendant Raulyn Richard   770963 770963 Raulyn, Richard, of Porthpera 0
4578014 2224629 2224629 defendant Hoigge Richard   770963 770963 Hoigge, Richard, of Porthpera 1
4578015 2224629 2224629 defendant Michell John   594995 594995 Michell, John, of Morvall 2
4578016 2224629 2224629 defendant Helier Alice     Helier, Alice 3
4578017 2224629 2224629 defendant Hoigge John   686743 686743 Hoigge, John, of Loo 4
4578018 2224629 2224629 defendant Smyth Richard     together with Smyth, Richard 5

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