home / cp40x

names

6 rows where case_id = 2331447

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4915819 2331447 2331447 plaintiff Dunton John     Dunton, John, on his own account 0
4915820 2331447 2331447 defendant Angketill George husbandman 821479 821479 Angketill, George, of Bassyngburne, Cambs, husbandman 0
4915821 2331447 2331447 defendant Quylter Ralph husbandman 594089 594089 Quylter, Ralph, of Romford, Essex, husbandman 1
4915822 2331447 2331447 defendant Aleyn John   586360 586360 Aleyn, John, of Chelmesford, Essex, one who takes fish inland to sell 2
4915823 2331447 2331447 defendant Henle John   587249 587249 Henle, John, of Chelmesford, "hunte" 3
4915824 2331447 2331447 defendant Lente John husbandman 821482 821482 Lente, John, of Cowemer, Norf, 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.39ms