home / cp40x

names

6 rows where case_id = 2317362

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4869287 2317362 2317362 plaintiff Kyngescote William     Kyngescote, William 0
4869288 2317362 2317362 plaintiff Mattok Robert     Mattok, Robert 1
4869289 2317362 2317362 defendant Bainvyle Thomas gent 813252 813252 Bainvyle, Thomas, of Westbury juxta Hembury, gent 0
4869290 2317362 2317362 defendant Isgar John husbandman 758761 758761 Isgar, John, of Hembury, husbandman 1
4869291 2317362 2317362 defendant Robyns Richard tailor 815119 815119 Robyns, Richard, of Redwyk, Hembury, tailor 2
4869292 2317362 2317362 defendant Milward John fisher 802944 802944 Milward, John, of Westmerssh, fisher 3

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 16.343ms