home / cp40x

names

6 rows where case_id = 1941003

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3747077 1941003 1941003 plaintiff Dawes Thomas     Dawes, Thomas 0
3747078 1941003 1941003 defendant Wiggearn William husbandman 587327 587327 Wiggearn, William, of Eton juxta Leomynster, husbandman 0
3747079 1941003 1941003 defendant Vaughan David weaver 586392 586392 Vaughan, David, of Leomynster, weaver 1
3747080 1941003 1941003 defendant Velour alias Welscheman John husbandman 588433 588433 Velour alias Welscheman, John, of Canon Pewen, husbandman 2
3747081 1941003 1941003 defendant Gardener John, junior husbandman 588433 588433 Gardener, John, junior, of Canon Pewen, husbandman 3
3747082 1941003 1941003 defendant Carpenter John husbandman 622458 622458 Carpenter, John, of Dunwood, 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.227ms