home / cp40x

names

7 rows where case_id = 1946198

✎ 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
3763438 1946198 1946198 plaintiff Hare William     Hare, William 0
3763439 1946198 1946198 defendant Sharpe Robert husbandman 590106 590106 Sharpe, Robert, of South Walsham, husbandman 0
3763440 1946198 1946198 defendant Bray William husbandman 590106 590106 Bray, William, of South Walsham, husbandman 1
3763441 1946198 1946198 defendant Brasfeld or Braffeld John husbandman 625313 625313 Brasfeld or Braffeld, John, of Spyxworth, husbandman 2
3763442 1946198 1946198 defendant Swanton Robert   607836 607836 Swanton, Robert, of Sloley, worsted weaver, administrators of 3
3763443 1946198 1946198 defendant Scottowe John husbandman 625315 625315 (Scottowe, John, of Swanton Abbott, husbandman 4
3763444 1946198 1946198 defendant Scottowe Katherine widow 607836 607836 Scottowe, Katherine, of Sloley, widow 5

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