home / cp40x

names

8 rows where case_id = 2486334

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5438105 2486334 2486334 plaintiff Stretehay John, sen     Stretehay, John, sen 0
5438106 2486334 2486334 defendant Curson Thomas esq 887475 887475 Curson, Thomas, of Croksale, Derbs, esq 0
5438107 2486334 2486334 defendant Curson Ralph gent 620135 620135 Curson, Ralph, of Allerwas, gent 1
5438108 2486334 2486334 defendant Curson Walter yeoman 620135 620135 Curson, Walter, of Allerwas, yeoman 2
5438109 2486334 2486334 defendant Ynge John gent 887476 887476 Ynge, John, of Kynges Neuton, Leics, gent 3
5438110 2486334 2486334 defendant Ynge Alice     Alice, his wife 4
5438111 2486334 2486334 defendant Lee William husbandman 887477 887477 Lee, William, of Stretehay, Staffs, husbandman 5
5438112 2486334 2486334 defendant Lee Henry laborer 587826 587826 Lee, Henry, of Lychefeld, laborer 6

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