home / cp40x

names

6 rows where case_id = 2417847

✎ 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
5207201 2417847 2417847 plaintiff Marche Robert clerk   Marche, Robert, clerk 0
5207202 2417847 2417847 defendant Funhale John husbandman 859405 859405 Funhale, John, of Brandon by Bernham Brome, husbandman 0
5207203 2417847 2417847 defendant Hemmyng Thomas husbandman 591891 591891 Hemmyng, Thomas, of Colney, husbandman 1
5207204 2417847 2417847 defendant Pounfreyt John husbandman 586168 586168 Pounfreyt, John, of Skernyng, husbandman 2
5207205 2417847 2417847 defendant Rolff Walter husbandman 587172 587172 Rolff, Walter, of East Derham, husbandman 3
5207206 2417847 2417847 defendant Themyll Robert tailor 587172 587172 Themyll, Robert, of East Derham, tailor 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.044ms