home / cp40x

names

6 rows where place_id = 602854

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3652045 1910989 1910989 defendant Cowche John, junior husbandman 602854 602854 Cowche, John, junior, of Lanrethowe, husbandman 1
3798078 1957295 1957295 defendant Brett Richard smith 602854 602854 Brett, Richard, of Lanrethowe, smith 0
3823343 1965215 1965215 defendant Samwell Anthony gent 602854 602854 Samwell, Anthony, of Lanrethowe, gent 0
3899419 1990019 1990019 defendant Sandy Richard husbandman 602854 602854 Sandy, Richard, of Lanrethowe, husbandman 7
3905469 1992099 1992099 defendant Doby Alice husbandman 602854 602854 Doby, Alice, of Lanrethowe, widow of John Doby, husbandman 0
4695164 2263973 2263973 defendant Richard Henry   602854 602854 Richard, Henry, of Lanrethowe, parson & clerk 0

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 8.287ms