home / cp40x

names

6 rows where case_id = 2283695

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4760722 2283695 2283695 plaintiff Dallyng William     Dallyng, William 0
4760723 2283695 2283695 defendant Burgh Robert   755389 755389 Burgh, Robert, of Bishop's Lenn, boat man 0
4760724 2283695 2283695 defendant Millere Henry   798231 798231 Millere, Henry, of Wygynghale, bailiff 1
4760725 2283695 2283695 defendant Deye Richard   586341 586341 Deye, Richard, of Elyngham, bailiff 2
4760726 2283695 2283695 defendant Ode Thomas husbandman 766214 766214 Ode, Thomas, of Oxeburgh, husbandman 3
4760727 2283695 2283695 defendant Rumbald William husbandman 593687 593687 Rumbald, William, of Methewold, husbandman 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 7.081ms