home / cp40x

names

6 rows where case_id = 2001395

✎ 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
3933185 2001395 2001395 plaintiff Goslyng Robert     Goslyng, Robert 0
3933186 2001395 2001395 defendant Mylward John clothier 653962 653962 Mylward, John, of Shepton Mallett, Soms, clothier 0
3933187 2001395 2001395 defendant Cornwall John clothier 654637 654637 Cornwall, John, of Kyngs Stanley, Gloucs, clothier 1
3933188 2001395 2001395 defendant Hopton Charles gent 585869 585869 Hopton, Charles, of London, gent 2
3933189 2001395 2001395 defendant Holland James tailor 616353 616353 Holland, James, of Colbroke, Middx, tailor 3
3933190 2001395 2001395 defendant Rvyers Richard mercer 654638 654638 Rvyers, Richard, of West Chester, Ches, mercer 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 8.219ms