home / cp40x

names

6 rows where case_id = 1990598

✎ 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
3901113 1990598 1990598 plaintiff Clerke Robert   612454 612454 Clerke, Robert, of Wynfarthyng 0
3901114 1990598 1990598 defendant Kempe Thomas smith 648336 648336 Kempe, Thomas, of Tharston, smith 0
3901115 1990598 1990598 defendant Calle Richard butcher 614426 614426 Calle, Richard, of Rowlond, butcher 1
3901116 1990598 1990598 defendant Wolman Richard husbandman 588844 588844 Wolman, Richard,of Banham, husbandman 2
3901117 1990598 1990598 defendant Forser John butcher 587418 587418 Forser, John, of Dysse, butcher 3
3901118 1990598 1990598 defendant Gose john   648338 648338 Gose, john, of Kepeham, wheelwright 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 10.555ms