home / cp40x

names

6 rows where case_id = 2361508

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5015798 2361508 2361508 plaintiff Brewys John     Brewys, John 0
5015799 2361508 2361508 defendant Hochyn Henry husbandman 651512 651512 Hochyn, Henry, of Teynton, Oxon, husbandman 0
5015800 2361508 2361508 defendant Bedell Simon husbandman 835439 835439 Bedell, Simon, of Hodycote Boys, husbandman 1
5015801 2361508 2361508 defendant Mayhewe Thomas laborer 835440 835440 Mayhewe, Thomas, of Magna Welford, Warks, laborer 2
5015802 2361508 2361508 defendant Marchall William husbandman 835441 835441 Marchall, William, of Welsburn Mountford, Warks, husbandman 3
5015803 2361508 2361508 defendant Chedley Robert husbandman 835442 835442 Chedley, Robert, of Welsburn Mountburn, 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.287ms