home / cp40x

names

7 rows where case_id = 2497646

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5475417 2497646 2497646 plaintiff Sporne Thomas     Sporne, Thomas 0
5475418 2497646 2497646 plaintiff Prate Richard     Prate, Richard 1
5475419 2497646 2497646 defendant Gryme Robert clerk & rector 776468 776468 Gryme, Robert, of Beauchamp Rodyng, clerk & rector 0
5475420 2497646 2497646 defendant Bery Robert gent 759202 759202 Bery, Robert, of Felstede, gent 1
5475421 2497646 2497646 defendant Marche John laborer 587249 587249 Marche, John, of Chelmesford, laborer 2
5475422 2497646 2497646 defendant Marche Joan     Joan, his wife 3
5475423 2497646 2497646 defendant atte Wode James husbandman 597970 597970 atte Wode, James, of Feryng, 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 14.937ms