home / cp40x

names

6 rows where case_id = 2246774

✎ 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
4652610 2246774 2246774 plaintiff Bal William clerk   Bal, William, clerk 0
4652611 2246774 2246774 defendant Baret John tailor 592997 592997 Baret, John, of Wedmore, tailor 0
4652612 2246774 2246774 defendant Boo William husbandman 778214 778214 Boo, William, of Boubarwe, shepherd: Hulloke, Thomas, of Trokwell, husbandman 1
4652613 2246774 2246774 defendant Courtlove Thomas husbandman 778215 778215 Courtlove, Thomas, of Bykkeford, husbandman 2
4652614 2246774 2246774 defendant Hany Thomas husbandman 610057 610057 Hany, Thomas, of Chuton, husbandman 3
4652615 2246774 2246774 defendant Boscombe Hugh. Of Burnyngton husbandman   Boscombe, Hugh. Of Burnyngton, 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.352ms