home / cp40x

names

8 rows where case_id = 1910989

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3652043 1910989 1910989 plaintiff Tredenek Henry clerk   Tredenek, Henry, clerk 0
3652044 1910989 1910989 defendant Hawkyns John husbandman 602853 602853 Hawkyns, John, of Pengelly, husbandman 0
3652045 1910989 1910989 defendant Cowche John, junior husbandman 602854 602854 Cowche, John, junior, of Lanrethowe, husbandman 1
3652046 1910989 1910989 defendant Wetter John husbandman 602855 602855 Wetter, John, of Dulo, husbandman 2
3652047 1910989 1910989 defendant Coche William, junior husbandman 602856 602856 Coche, William, junior, of Bocunek, husbandman 3
3652048 1910989 1910989 defendant Coche William, senior husbandman 602856 602856 Coche, William, senior, of Bocunek, husbandman 4
3652049 1910989 1910989 defendant Harrys Thomas chaplain 602855 602855 Harrys, Thomas, of Dulo, chaplain 5
3652050 1910989 1910989 defendant Whyddon William husbandman 602855 602855 Whyddon, William, of Dulo, husbandman 6

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.568ms