home / cp40x

names

6 rows where case_id = 2450372

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5317667 2450372 2450372 plaintiff Forster Humphrey     Forster, Humphrey 0
5317668 2450372 2450372 defendant Willes William husbandman 639325 639325 Willes, William, of Northwyke, husbandman 0
5317669 2450372 2450372 defendant Willes Richard husbandman 872701 872701 Willes, Richard, of Northyende, Almondesbury, husbandman 1
5317670 2450372 2450372 defendant Aleyn Thomas husbandman 872702 872702 Aleyn, Thomas, of Auste, husbandman 2
5317671 2450372 2450372 defendant Halle John, junior husbandman 639325 639325 Halle, John, junior, of Northwyke, husbandman 3
5317672 2450372 2450372 defendant Mattoke William husbandman 639325 639325 Mattoke, William, of Northwyke, 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 17.519ms