home / cp40x

names

6 rows where case_id = 2509832

✎ 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
5515931 2509832 2509832 plaintiff Spire Ingelram     Spire, Ingelram 0
5515932 2509832 2509832 defendant Dogger William yeoman 586207 586207 Dogger, William, of Basyngstoke, yeoman 0
5515933 2509832 2509832 defendant Carter John husbandman 591054 591054 Carter, John, of Shirburne St John, husbandman 1
5515934 2509832 2509832 defendant Wygge William husbandman 586314 586314 Wygge, William, of Bromley, husbandman 2
5515935 2509832 2509832 defendant Marlowe George yeoman 895432 895432 Marlowe, George, of Hartlewaspell, yeoman 3
5515936 2509832 2509832 defendant Wydowson John husbandman 592998 592998 Wydowson, John, of Basyng, 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 15.164ms