home / cp40x

names

6 rows where case_id = 2096678

✎ 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
4203231 2096678 2096678 plaintiff Lloyd Richard gent   Lloyd, Richard, gent 0
4203232 2096678 2096678 defendant ap David alias Tailor John ap John yeoman 585869 585869 ap David alias Tailor, John ap John, of London, or of Pennarth, Montgomery, yeoman 0
4203233 2096678 2096678 defendant ap Owen Hugh ap David ap Gruffith yeoman 607857 607857 ap Owen, Hugh ap David ap Gruffith, of Pennarth, yeoman 1
4203234 2096678 2096678 defendant ap Lewes Peter yeoman 714276 714276 ap Lewes, Peter, of Nantmichiat, Montgomery, yeoman 2
4203235 2096678 2096678 defendant ap Owen Lewis ap John yeoman 607857 607857 ap Owen, Lewis ap John, of Pennarth, yeoman 3
4203236 2096678 2096678 defendant ap John David ap Owen yeoman 607857 607857 ap John, David ap Owen, of Pennarth, yeoman 4

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 15.318ms