home / cp40x

names

6 rows where case_id = 2363195

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5021516 2363195 2363195 plaintiff Fortescu Henry esq, sheriff   Fortescu, Henry, esq, sheriff 0
5021517 2363195 2363195 defendant Caselegh Simon   595360 595360 Caselegh, Simon, of Chageford, bailiff 0
5021518 2363195 2363195 defendant Horton Gregory   591749 591749 Horton, Gregory, of South Molton, bailiff 1
5021519 2363195 2363195 defendant Clyfton John   586262 586262 Clyfton, John, of Kyrton, bailiff 2
5021520 2363195 2363195 defendant Wade John   586997 586997 Wade, John, of Thornerton, bailiff 3
5021521 2363195 2363195 defendant Hille Richard   589639 589639 Hille, Richard, of Rouburgh, bailiff 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 14.373ms