home / cp40x

names

6 rows where case_id = 2275091

✎ 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
4731644 2275091 2275091 plaintiff Neell Richard     Neell, Richard 0
4731645 2275091 2275091 defendant Hayle John yeoman 596169 596169 Hayle, John, of Clopham, yeoman 0
4731646 2275091 2275091 defendant More John of the husbandman 596169 596169 More, John of the, of Clopham, husbandman 1
4731647 2275091 2275091 defendant Pecat John husbandman 596169 596169 Pecat, John, of Clopham, husbandman 2
4731648 2275091 2275091 defendant Terat John husbandman 596570 596570 Terat, John, of Bromham, husbandman 3
4731649 2275091 2275091 defendant Ussher Thomas   596570 596570 Ussher, Thomas, of Bromham, mill ward 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 13.46ms