home / cp40x

names

6 rows where case_id = 1947663

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3768112 1947663 1947663 plaintiff Palmer William     Palmer, William 0
3768113 1947663 1947663 defendant Baylys Thomas husbandman 586459 586459 Baylys, Thomas, of Stoke Prior, husbandman 0
3768114 1947663 1947663 defendant Wylde John husbandman 595859 595859 Wylde, John, of Hambury, husbandman 1
3768115 1947663 1947663 defendant Bybbe John, junior husbandman 612590 612590 Bybbe, John, junior, of Cokesey, husbandman 2
3768116 1947663 1947663 defendant Chamber Richard husbandman 624741 624741 Chamber, Richard, of Astwode, husbandman 3
3768117 1947663 1947663 defendant Methedam Griffin laborer 626119 626119 Methedam, Griffin, of Chaddyswyche, laborer 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 6.409ms