home / cp40x

names

7 rows where case_id = 2450799

✎ 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
5319072 2450799 2450799 plaintiff Hannys John (legal representative) 588667 588667 Hannys, John, of Stratford on Avon, executors of 0
5319073 2450799 2450799 plaintiff Clopton Thomas     (Clopton, Thomas 1
5319074 2450799 2450799 plaintiff Heyrowe William   586848 586848 Heyrowe, William, of Northampton 2
5319075 2450799 2450799 defendant Cowley Thomas husbandman 625010 625010 Cowley, Thomas, of Kyllesby, Nhants, husbandman 0
5319076 2450799 2450799 defendant Payn Robert husbandman 613353 613353 Payn, Robert, of Tetbury, Glos, husbandman 1
5319077 2450799 2450799 defendant Tante or Taute John husbandman 645489 645489 Tante or Taute, John, of Wynwyk, Nhants, husbandman 2
5319078 2450799 2450799 defendant Austyn William husbandman 589907 589907 Austyn, William, of Bodynton, husbandman 3

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