home / cp40x

names

6 rows where case_id = 2337432

✎ 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
4935262 2337432 2337432 plaintiff Beaumount Robert parson of Yalmpton   Beaumount, Robert, parson of Yalmpton 0
4935263 2337432 2337432 defendant Horston Thomas husbandman 824421 824421 Horston, Thomas, of Rewstoke, husbandman 0
4935264 2337432 2337432 defendant Mone William gent 679284 679284 Mone, William, of Newton Ferris, gent 1
4935265 2337432 2337432 defendant Wynston Henry husbandman 598079 598079 Wynston, Henry, of Bryxston, husbandman 2
4935266 2337432 2337432 defendant Martyn Edmund helyer or roofer 778818 778818 Martyn, Edmund, of Yalmpton, helyer or roofer 3
4935267 2337432 2337432 defendant Hawle William husbandman 824423 824423 Hawle, William, of Wilberdon, 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 13.046ms