home / cp40x

names

8 rows where case_id = 2340892

✎ 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
4946470 2340892 2340892 plaintiff Kervyll Edward     Kervyll, Edward 0
4946471 2340892 2340892 defendant Lewerych John husbandman 588663 588663 Lewerych, John, of Tylney, husbandman 0
4946472 2340892 2340892 defendant Lewerych Thomas husbandman 588663 588663 Lewerych, Thomas, of Tylney, husbandman 1
4946473 2340892 2340892 defendant Lenton Robert chaplain 588663 588663 Lenton, Robert, of Tylney, chaplain 2
4946474 2340892 2340892 defendant Smyth Thomas husbandman 588755 588755 Smyth, Thomas, of Teryngton, husbandman 3
4946475 2340892 2340892 defendant Paye John husbandman 588755 588755 Paye, John, of Teryngton, husbandman 4
4946476 2340892 2340892 defendant Carter John husbandman 594764 594764 Carter, John, of Walsokyn, husbandman 5
4946477 2340892 2340892 defendant Westmerland John husbandman 595396 595396 Westmerland, John, of Emneth, husbandman 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.461ms