home / cp40x

names

8 rows where case_id = 2031812

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4019800 2031812 2031812 plaintiff Wentworth John gent   Wentworth, John, gent 0
4019801 2031812 2031812 defendant Pycknett Robert yeoman 592325 592325 Pycknett, Robert, of Blytheburgh, yeoman 0
4019802 2031812 2031812 defendant Bramford William, senior gent 653942 653942 Bramford, William, senior, of Woodbrydge, gent 1
4019803 2031812 2031812 defendant Bogas Robert gent 622825 622825 Bogas, Robert, of Brantham, gent 2
4019804 2031812 2031812 defendant Bardwell James blacksmith 587792 587792 Bardwell, James, of Debenham, blacksmith 3
4019805 2031812 2031812 defendant Lyvell John, senior yeoman 599101 599101 Lyvell, John, senior, of Baylham, yeoman 4
4019806 2031812 2031812 defendant Lorde Lawrence yeoman 675716 675716 Lorde, Lawrence, of Pettawe, yeoman 5
4019807 2031812 2031812 defendant Went John yeoman 653942 653942 Went, John, of Woodbrydge, yeoman 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 17.7ms