home / cp40x

names

6 rows where case_id = 2457297

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5340715 2457297 2457297 plaintiff Patynden James     Patynden, James 0
5340716 2457297 2457297 defendant Streter Gabriel laborer 589284 589284 Streter, Gabriel, of Lamberherst, Kent, laborer 0
5340717 2457297 2457297 defendant Gilbard Roger husbandman 598873 598873 Gilbard, Roger, of Wythyham, husbandman 1
5340718 2457297 2457297 defendant Kyrkesale John husbandman 585988 585988 Kyrkesale, John, of Hethfeld, husbandman 2
5340719 2457297 2457297 defendant Partrigge Gabriel husbandman 588739 588739 Partrigge, Gabriel, of Tyseherst, husbandman 3
5340720 2457297 2457297 defendant Streter James husbandman 588742 588742 Streter, James, of Lamberherst, 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 16.308ms