home / cp40x

names

7 rows where case_id = 2358364

✎ 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
5005010 2358364 2358364 plaintiff Rede Robert     Rede, Robert 0
5005011 2358364 2358364 defendant Knutton John husbandman 833791 833791 Knutton, John, of Brystwesyll, husbandman 0
5005012 2358364 2358364 defendant Carter Richard husbandman 833791 833791 Carter, Richard, of Brystwesyll, husbandman 1
5005013 2358364 2358364 defendant Sykes John   593698 593698 Sykes, John, of Flokton 2
5005014 2358364 2358364 defendant Walker Henry   585898 585898 Walker, Henry, of Shytlyngton 3
5005015 2358364 2358364 defendant Walker John husbandman 585898 585898 Walker, John, of Shytlyngton, husbandman 4
5005016 2358364 2358364 defendant Herdman William   602513 602513 Herdman, William, of Thornhill, wright 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 17.701ms