home / cp40x

names

9 rows where case_id = 2535170

✎ 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
5600898 2535170 2535170 plaintiff Irby Anthony     Irby, Anthony 0
5600899 2535170 2535170 defendant Hun William husbandman 590440 590440 Hun, William, of Wigtoft, husbandman 0
5600900 2535170 2535170 defendant Hun Robert husbandman 590440 590440 Hun, Robert, of Wigtoft, husbandman 1
5600901 2535170 2535170 defendant Toller Thomas husbandman 594818 594818 Toller, Thomas, of Byker, husbandman 2
5600902 2535170 2535170 defendant Bothomsell John husbandman 594818 594818 Bothomsell, John, of Byker, husbandman 3
5600903 2535170 2535170 defendant Garrerd John husbandman 594818 594818 Garrerd, John, of Byker, husbandman 4
5600904 2535170 2535170 defendant Toller Ralph husbandman 594818 594818 Toller, Ralph, of Byker, husbandman 5
5600905 2535170 2535170 defendant Wilson Bernard chaplain 594818 594818 Wilson, Bernard, of Byker, chaplain 6
5600906 2535170 2535170 defendant Jacson William, junior husbandman 594818 594818 Jacson, William, junior, of Byker, husbandman 7

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