home / cp40x

names

7 rows where case_id = 1916017

✎ 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
3668254 1916017 1916017 plaintiff ap Robert John clerk   ap Robert, John, clerk 0
3668255 1916017 1916017 defendant Webbe Henry husbandman 589505 589505 Webbe, Henry, of Kyngeston, husbandman 0
3668256 1916017 1916017 defendant Webbe Richard husbandman 589505 589505 Webbe, Richard, of Kyngeston, husbandman 1
3668257 1916017 1916017 defendant ap rees David husbandman 589505 589505 ap rees, David, of Kyngeston, husbandman 2
3668258 1916017 1916017 defendant Gough John husbandman 600760 600760 Gough, John, of Madeley, husbandman 3
3668259 1916017 1916017 defendant Smyth Robert husbandman 600040 600040 Smyth, Robert, of Webton, husbandman 4
3668260 1916017 1916017 defendant Hill Roger husbandman 607220 607220 Hill, Roger, of Cullyngton, husbandman 5

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