home / cp40x

names

9 rows where case_id = 2287301

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4772283 2287301 2287301 plaintiff Speke John     Speke, John 0
4772284 2287301 2287301 defendant Dyer Robert husbandman 800246 800246 Dyer, Robert, of Brondesgrove, husbandman 0
4772285 2287301 2287301 defendant Dyer John   800246 800246 Dyer, John, of Brondesgrove, groom 1
4772286 2287301 2287301 defendant Raynell William, sen husbandman 611885 611885 Raynell, William, sen, of Stoke Canon, husbandman 2
4772287 2287301 2287301 defendant Raynell William jun, of Stoke Canon, husbandman   Raynell, William, jun, of Stoke Canon, husbandman 3
4772288 2287301 2287301 defendant Lakeman Thomas husbandman 776559 776559 Lakeman, Thomas, of Doune, husbandman 4
4772289 2287301 2287301 defendant Coham John husbandman 800248 800248 Coham, John, of Coham, husbandman 5
4772290 2287301 2287301 defendant Mante Richard husbandman 800249 800249 Mante, Richard, of Stevenyson, husbandman 6
4772291 2287301 2287301 defendant Byrche Walter yeoman 587116 587116 Byrche, Walter, of Alfyngton, yeoman 7

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 16.129ms