home / cp40x

names

7 rows where case_id = 2388217

✎ 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
5106079 2388217 2388217 plaintiff Courtenay Philip knight   Courtenay, Philip, knight 0
5106080 2388217 2388217 defendant More William husbandman 846142 846142 More, William, of Est Raddon, husbandman 0
5106081 2388217 2388217 defendant Tounesende John husbandman 595460 595460 Tounesende, John, of Thorverton, husbandman 1
5106082 2388217 2388217 defendant Brounston Thomas husbandman 595460 595460 Brounston, Thomas, of Thorverton, husbandman 2
5106083 2388217 2388217 defendant Drake John, junior husbandman 595460 595460 Drake, John, junior, of Thorverton, husbandman 3
5106084 2388217 2388217 defendant Brounston John husbandman 595460 595460 Brounston, John, of Thorverton, husbandman 4
5106085 2388217 2388217 defendant Srake John, senior husbandman 595460 595460 Srake, John, senior, of Thorverton, husbandman 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 16.39ms