home / cp40x

names

8 rows where case_id = 2275155

✎ 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
4731883 2275155 2275155 plaintiff Northales William clerk   Northales, William, clerk 0
4731884 2275155 2275155 plaintiff Tangham John   756941 756941 Tangham, John, of Henleye 1
4731885 2275155 2275155 defendant Wodeward Thomas, sen yeoman 761303 761303 Wodeward, Thomas, sen, of Bergham, yeoman 0
4731886 2275155 2275155 defendant Chese William (legal representative) 792821 792821 Chese, William, of Berhgam, executors of 1
4731887 2275155 2275155 defendant Tapir John carpenter 761303 761303 (Tapir, John, of Bergham, carpenter 2
4731888 2275155 2275155 defendant Gouty Geoffrey yeoman 756941 756941 Gouty, Geoffrey, of Henleye, yeoman 3
4731889 2275155 2275155 defendant Clerk Edmund yeoman 761303 761303 Clerk, Edmund, of Bergham, yeoman 4
4731890 2275155 2275155 defendant Clerk Elizabeth     Elizabeth, his wife 5

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.472ms