home / cp40x

names

6 rows where case_id = 2362509

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5019209 2362509 2362509 plaintiff Danet or Davet John     Danet or Davet, John 0
5019210 2362509 2362509 defendant Hubberd Richard   663870 663870 Hubberd, Richard, of Syston, cartwright 0
5019211 2362509 2362509 defendant West Robert husbandman 629722 629722 West, Robert, of Brokesby, husbandman 1
5019212 2362509 2362509 defendant Taillour John husbandman 629732 629732 Taillour, John, of South Croxton, husbandman 2
5019213 2362509 2362509 defendant Taillour John husbandman 799018 799018 Taillour, John, of Erlesthorp, husbandman 3
5019214 2362509 2362509 defendant Howes John husbandman 761081 761081 Howes, John, of Syleby, 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 14.849ms