home / cp40x

names

8 rows where case_id = 2503601

✎ 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
5495665 2503601 2503601 plaintiff Hergest Richard esq   Hergest, Richard, esq 0
5495666 2503601 2503601 defendant ap Harry Thomas, senior esq 662548 662548 ap Harry, Thomas, senior, of Peston, esq 0
5495667 2503601 2503601 defendant ap Harry Thomas, junior gent 662548 662548 ap Harry, Thomas, junior, of Peston, gent 1
5495668 2503601 2503601 defendant ap Ivour John yeoman 662548 662548 ap Ivour, John, of Peston, yeoman 2
5495669 2503601 2503601 defendant ap Jenn Richard, senior laborer 662548 662548 ap Jenn, Richard, senior, of Peston, laborer 3
5495670 2503601 2503601 defendant ap Jenn Richard, junior laborer 662548 662548 ap Jenn, Richard, junior, of Peston, laborer 4
5495671 2503601 2503601 defendant ap Hadok Howel ap Thomas gent 893333 893333 ap Hadok, Howel ap Thomas, of Llannythangell Estle, March of Wales, gent 5
5495672 2503601 2503601 defendant tewe griffith husbandman 595633 595633 tewe, griffith, of Turnaston, 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.212ms