home / cp40x

names

7 rows where case_id = 2531197

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5587775 2531197 2531197 plaintiff Nicols John     Nicols, John 0
5587776 2531197 2531197 defendant Sutton John yeoman 598434 598434 Sutton, John, of Melreth, Cams, yeoman 0
5587777 2531197 2531197 defendant Smythe Thomas husbandman 620542 620542 Smythe, Thomas, of Baryngton, Cams, husbandman 1
5587778 2531197 2531197 defendant Cape Richard (legal representative)   Cape, Richard, executor of 2
5587779 2531197 2531197 defendant Robynson Simon clerk 594234 594234 Robynson, Simon, of Melburn, Cams, clerk 3
5587780 2531197 2531197 defendant Yngrye Margery (legal representative)   Yngrye, Margery, executor of 4
5587781 2531197 2531197 defendant Yngrye Warren husbandman 825199 825199 Yngrye, Warren, of Melrethe, Cams, 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.809ms