home / cp40x

names

7 rows where case_id = 2277983

✎ 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
4741405 2277983 2277983 plaintiff Bollokes John weaver 794534 794534 Bollokes, John, of Great Berynton, Berks, weaver 0
4741406 2277983 2277983 plaintiff Mulward John husbandman 794535 794535 Mulward, John, of Little Berynton, Gloucs, husbandman 1
4741407 2277983 2277983 defendant Martyn John woolman 760812 760812 Martyn, John, of Witteney, woolman 0
4741408 2277983 2277983 defendant Godfrey John husbandman 620888 620888 Godfrey, John, of Bourton, husbandman 1
4741409 2277983 2277983 defendant Cordewainer John baker 587559 587559 (Cordewainer, John, of Bampton, baker 2
4741410 2277983 2277983 defendant West John husbandman 620888 620888 West, John, of Bourton, husbandman 3
4741411 2277983 2277983 defendant West Matilda     Matilda, his wife 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.383ms