home / cp40x

names

6 rows where case_id = 2321152

✎ 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
4881618 2321152 2321152 plaintiff Wye John     Wye, John 0
4881619 2321152 2321152 defendant Sewell John husbandman 816723 816723 Sewell, John, of Wodemencote, husbandman 0
4881620 2321152 2321152 defendant Roweche Thomas husbandman 816723 816723 Roweche, Thomas, of Wodemencote, husbandman 1
4881621 2321152 2321152 defendant Smyth John yeoman 778736 778736 Smyth, John, of Bishops Clyve, yeoman 2
4881622 2321152 2321152 defendant Bynes Thomas husbandman 816724 816724 Bynes, Thomas, of Brocamton, husbandman 3
4881623 2321152 2321152 defendant Rede John husbandman 778736 778736 together with Rede, John, of Bishops Clyve, 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 13.368ms