home / cp40x

names

6 rows where case_id = 2413123

✎ 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
5191039 2413123 2413123 plaintiff Marche Robert clerk   Marche, Robert, clerk 0
5191040 2413123 2413123 defendant Funhale John husbandman 857756 857756 Funhale, John, of Brandon, by Bernham Brome, husbandman 0
5191041 2413123 2413123 defendant Hemmyng Thomas husbandman 591891 591891 Hemmyng, Thomas, of Colney, husbandman 1
5191042 2413123 2413123 defendant Pomfrey John husbandman 586168 586168 Pomfrey, John, of Skernyng, husbandman 2
5191043 2413123 2413123 defendant Rolf Walter husbandman 587172 587172 Rolf Walter, of East Derham, husbandman 3
5191044 2413123 2413123 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 17.975ms