home / cp40x

names

7 rows where case_id = 2300006

✎ 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
4812449 2300006 2300006 plaintiff Hakett alias Haget Adam husbandman 806023 806023 Hakett alias Haget, Adam, of North Qwetley or North Wheatley, Notts, husbandman 0
4812450 2300006 2300006 defendant Barwell Richard husbandman 594500 594500 Barwell, Richard, of Clareburgh, husbandman 0
4812451 2300006 2300006 defendant Watson John husbandman 587089 587089 Watson, John, of Burton on Trent, husbandman 1
4812452 2300006 2300006 defendant Webster Richard husbandman 771864 771864 Webster, Richard, of Bekyngham in the Clay, husbandman 2
4812453 2300006 2300006 defendant Belmore John husbandman 806024 806024 Belmore, John, of Brachewell, Yorks, husbandman 3
4812454 2300006 2300006 defendant Bayly John butcher 806025 806025 Bayly, John, of Kenalfery, Lincs, butcher 4
4812455 2300006 2300006 defendant Dawes Thomas husbandman 806026 806026 Dawes, Thomas, of Threpton, Yorks, husbandman 5

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