home / cp40x

names

9 rows where case_id = 2344700

✎ 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
4959130 2344700 2344700 plaintiff Alnwik William Bishop of Lincoln   Alnwik, William, Bishop of Lincoln 0
4959131 2344700 2344700 defendant Gretam Richard husbandman 591495 591495 Gretam, Richard, of Dodyngton, husbandman 0
4959132 2344700 2344700 defendant Bagle Ralph gent 591495 591495 Bagle, Ralph, of Dodyngton, gent 1
4959133 2344700 2344700 defendant Bole John, junior husbandman 591495 591495 Bole, John, junior, of Dodyngton, husbandman 2
4959134 2344700 2344700 defendant Bole Robert husbandman 591495 591495 Bole, Robert, of Dodyngton, husbandman 3
4959135 2344700 2344700 defendant Ferrour or Smith John, junior husbandman 591495 591495 Ferrour or Smith, John, junior, of Dodyngton, husbandman 4
4959136 2344700 2344700 defendant Freman John husbandman 591495 591495 Freman, John, of Dodyngton, husbandman 5
4959137 2344700 2344700 defendant Penyall Thomas husbandman 598117 598117 Penyall, Thomas, of Sybthorp, husbandman 6
4959138 2344700 2344700 defendant Couper Thomas husbandman 598117 598117 Couper, Thomas, of Sybthorp, 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 13.345ms