home / cp40x

names

8 rows where case_id = 2325156

✎ 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
4895184 2325156 2325156 plaintiff Flete William merchant   Flete, William, merchant 0
4895185 2325156 2325156 plaintiff Joye William     Joye, William 1
4895186 2325156 2325156 defendant Palfreman Gilbert husbandman 586039 586039 Palfreman, Gilbert, of Whaplod, husbandman 0
4895187 2325156 2325156 defendant Pynder John husbandman 586039 586039 Pynder, John, of Whaplod, husbandman 1
4895188 2325156 2325156 defendant Pynder Robert husbandman 586039 586039 Pynder, Robert, of Whaplod, husbandman 2
4895189 2325156 2325156 defendant Bullok Thomas husbandman 586751 586751 Bullok, Thomas, of Holbech, husbandman 3
4895190 2325156 2325156 defendant Bullok John husbandman 587151 587151 Bullok, John, of Flete, husbandman 4
4895191 2325156 2325156 defendant Broun Thomas husbandman 586039 586039 Broun, Thomas, of Whaplod, 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 16.177ms