home / cp40x

names

8 rows where case_id = 2358646

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5005958 2358646 2358646 plaintiff Salisbury Richard earl, of   Salisbury, Richard, earl, of 0
5005959 2358646 2358646 defendant Denton John esq 590660 590660 Denton, John, of Carlisle, esq 0
5005960 2358646 2358646 defendant Scott Richard yeoman 756499 756499 Scott, Richard, of Caldebek, yeoman 1
5005961 2358646 2358646 defendant Abbote William yeoman 756499 756499 Abbote, William, of Caldebek, yeoman 2
5005962 2358646 2358646 defendant Haltelowe Hugh gent 756499 756499 Haltelowe, Hugh, of Caldebek, gent 3
5005963 2358646 2358646 defendant Wyseman (illegible) yeoman 595423 595423 Wyseman, _, of Skelton, yeoman 4
5005964 2358646 2358646 defendant Wyseman John tailor 758826 758826 Wyseman, John, of Hoton in the Forest, tailor 5
5005965 2358646 2358646 defendant Wyseman John husbandman 747650 747650 Wyseman, John, of Skelton Scales, husbandman 6

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