home / cp40x

names

6 rows where case_id = 2281066

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4751956 2281066 2281066 plaintiff Strangways James     Strangways, James, on his own account 0
4751957 2281066 2281066 defendant Fleshewer Roger butcher 596911 596911 Fleshewer, Roger, of Richmond, butcher 0
4751958 2281066 2281066 defendant Swynesheved Adam butcher 596911 596911 Swynesheved, Adam, of Richmond, butcher 1
4751959 2281066 2281066 defendant Kirkby Richard yeoman 623113 623113 Kirkby, Richard, of Redham, yeoman 2
4751960 2281066 2281066 defendant Lasyngby John husbandman 594582 594582 Lasyngby, John, of Whitewell, husbandman 3
4751961 2281066 2281066 defendant Dunnyng John tanner 589310 589310 Dunnyng, John, of Ripon, tanner 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.707ms