home / cp40x

names

6 rows where case_id = 2328856

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4907333 2328856 2328856 plaintiff Rokke Nicholas   754947 754947 Rokke, Nicholas, of Yevele 0
4907334 2328856 2328856 defendant Russell Walter merchant 587645 587645 Russell, Walter, of Cherde, merchant 0
4907335 2328856 2328856 defendant Galon Hugh fisher 657929 657929 Galon, Hugh, of See, fisher 1
4907336 2328856 2328856 defendant Reynold William fisher 820049 820049 Reynold, William, of South Peverton, fisher 2
4907337 2328856 2328856 defendant Albert Robert chapman 586143 586143 Albert, Robert, of Norton, chapman 3
4907338 2328856 2328856 defendant Aleyn Roger husbandman 820050 820050 Aleyn, Roger, of Wherthe, 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 5.97ms