home / cp40x

names

8 rows where case_id = 1958169

✎ 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
3800819 1958169 1958169 plaintiff Marcoll John     Marcoll, John 0
3800820 1958169 1958169 plaintiff Marcoll Robert     Marcoll, Robert 1
3800821 1958169 1958169 plaintiff Jameson John     Jameson, John 2
3800822 1958169 1958169 defendant Broun John laborer 631487 631487 Broun, John, of Sharnbourn, laborer 0
3800823 1958169 1958169 defendant Palmer Thomas husbandman 592166 592166 Palmer, Thomas, of Myleham, husbandman 1
3800824 1958169 1958169 defendant White William thatcher 592166 592166 White, William, of Myleham, thatcher 2
3800825 1958169 1958169 defendant White Richard laborer 599344 599344 White, Richard, of Trows, laborer 3
3800826 1958169 1958169 defendant Broun John husbandman 592166 592166 Broun, John, of Myleham, 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 16.242ms