home / cp40x

names

7 rows where case_id = 2357193

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5001077 2357193 2357193 plaintiff Mauncell John     Mauncell, John 0
5001078 2357193 2357193 defendant Seman William   605828 605828 Seman, William, of Halse, mill ward 0
5001079 2357193 2357193 defendant Membury Thomas husbandman 833242 833242 Membury, Thomas, of East Dawlish, husbandman 1
5001080 2357193 2357193 defendant Squyer John husbandman 833243 833243 Squyer, John, of Hunteworth, husbandman 2
5001081 2357193 2357193 defendant Andrewe John yeoman 590525 590525 Andrewe, John, of North Pederton, yeoman 3
5001082 2357193 2357193 defendant Smyth Reginald smith 833244 833244 Smyth, Reginald, of Creket Deneham, smith 4
5001083 2357193 2357193 defendant Touker John fuller 833245 833245 Touker, John, of East Dawelyssh, fuller 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 7.725ms