home / cp40x

names

8 rows where case_id = 1910498

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3650408 1910498 1910498 plaintiff Sare John, senior (legal representative)   Sare, John, senior, administrator ofs 0
3650409 1910498 1910498 plaintiff Spicer William clerk   (Spicer, William, clerk 1
3650410 1910498 1910498 plaintiff Reynold John     Reynold, John 2
3650411 1910498 1910498 defendant Hunt Henry carpenter 602490 602490 Hunt, Henry, of West Wrattyng, carpenter 0
3650412 1910498 1910498 defendant Vynter Edmund smith 602491 602491 Vynter, Edmund, of Leighton Bozard, Beds, smith 1
3650413 1910498 1910498 defendant Petitt William husbandman 602492 602492 Petitt, William, of Castle Camps, husbandman 2
3650414 1910498 1910498 defendant rede John carpenter 602493 602493 rede, John, of Shady Camps, carpenter 3
3650415 1910498 1910498 defendant Turtill John husbandman 602494 602494 Turtill, John, of Iklyngton, 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 13.278ms