home / cp40x

names

6 rows where case_id = 2479261

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5414453 2479261 2479261 plaintiff Hayne Walter     Hayne, Walter 0
5414454 2479261 2479261 defendant Collowe Nicholas weaver 613561 613561 Collowe, Nicholas, of Shirborne, weaver 0
5414455 2479261 2479261 defendant Budde Richard fuller 885124 885124 Budde, Richard, of Worthe, Soms, fuller 1
5414456 2479261 2479261 defendant Derke John butcher 601640 601640 Derke, John, of Helton, butcher 2
5414457 2479261 2479261 defendant Cokkys Nicholas husbandman 588802 588802 Cokkys, Nicholas, of Wotton, husbandman 3
5414458 2479261 2479261 defendant Dollyng John husbandman 596100 596100 Dollyng, John, of Long Burton, 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 6.307ms