home / cp40x

names

6 rows where case_id = 2447176

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5307265 2447176 2447176 plaintiff Parrok William     Parrok, William 0
5307266 2447176 2447176 defendant Hanell William husbandman 871414 871414 Hanell, William, of Aisshehull, husbandman 0
5307267 2447176 2447176 defendant Hastynges Henry husbandman 691415 691415 Hastynges, Henry, of Meriet, husbandman 1
5307268 2447176 2447176 defendant Paynter Thomas butcher 691415 691415 Paynter, Thomas, of Meriet, butcher 2
5307269 2447176 2447176 defendant Sadeler William sadler 587645 587645 Sadeler, William, of Cherde, sadler 3
5307270 2447176 2447176 defendant Samwise John yeoman 587645 587645 Samwise, John, of Cherde, yeoman 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 7.201ms