home / cp40x

names

6 rows where case_id = 2525850

✎ 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
5570177 2525850 2525850 plaintiff Holbech Richard abbot of Thorney Abbey   Holbech, Richard, abbot of Thorney Abbey 0
5570178 2525850 2525850 defendant Brig Richard husbandman 590434 590434 Brig, Richard, of Gedney, Lincs, husbandman 0
5570179 2525850 2525850 defendant Toby or Tovy John husbandman 587360 587360 Toby or Tovy, John, of Gedney, husbandman 1
5570180 2525850 2525850 defendant Rowold John husbandman 587360 587360 Rowold, John, of Gedney, husbandman 2
5570181 2525850 2525850 defendant Thurkyll John husbandman 587360 587360 Thurkyll, John, of Gedney, husbandman 3
5570182 2525850 2525850 defendant Clerk John husbandman 587360 587360 Clerk, John, of Gedney, husbandman 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 21.753ms