home / cp40x

names

6 rows where case_id = 2371188

✎ 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
5048490 2371188 2371188 plaintiff Roger John, senior     Roger, John, senior 0
5048491 2371188 2371188 defendant Hardevyle Nicholas husbandman 600793 600793 Hardevyle, Nicholas, of Hameldon, husbandman 0
5048492 2371188 2371188 defendant Estwod John husbandman 587778 587778 Estwod, John, of Soberton, husbandman 1
5048493 2371188 2371188 defendant Mayle John butcher 839915 839915 Mayle, John, of Droxeford, butcher 2
5048494 2371188 2371188 defendant Spegge Wiliam husbandman 767295 767295 Spegge, Wiliam, of Soburton, husbandman 3
5048495 2371188 2371188 defendant Smyth John merchant 586475 586475 Smyth, John, of Fareham, merchant 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 15.537ms