home / cp40x

names

6 rows where case_id = 2301751

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4818147 2301751 2301751 plaintiff Newenham John     Newenham, John, on his own account 0
4818148 2301751 2301751 defendant Ayot John yeoman 595776 595776 Ayot, John, of Holyngbourne, yeoman 0
4818149 2301751 2301751 defendant Millys Joan widow 586445 586445 Millys, Joan, of Ulcombe, widow 1
4818150 2301751 2301751 defendant Sawecer Richard glover 595776 595776 Sawecer, Richard, of Holyngbourne, glover 2
4818151 2301751 2301751 defendant Thomas Walter laborer 768759 768759 Thomas, Walter, of Renham, laborer 3
4818152 2301751 2301751 defendant Mosewell Thomas husbandman 586445 586445 Mosewell, Thomas, of Ulcombe, 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 18.129ms