home / cp40x

names

9 rows where case_id = 2322130

✎ 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
4884740 2322130 2322130 plaintiff Salesbery Thomas (legal representative) 593392 593392 Salesbery, Thomas, of St Nicholas, Isle of Thanet, executors of 0
4884741 2322130 2322130 plaintiff Baker William     (Baker, William 1
4884742 2322130 2322130 plaintiff Mareys David     Mareys, David 2
4884743 2322130 2322130 plaintiff Salesbery Christine widow   Salesbery, Christine, widow 3
4884744 2322130 2322130 defendant Edmond William yeoman 817185 817185 Edmond, William, of Sy Nicholas, Isle of Thanet, yeoman 0
4884745 2322130 2322130 defendant Reedyeve John brewer 599496 599496 Reedyeve, John, of Sandewich, brewer 1
4884746 2322130 2322130 defendant Somer Roger husbandman 656612 656612 Somer, Roger, of Sholdon, husbandman 2
4884747 2322130 2322130 defendant Crosse or Croche John skinner 599496 599496 Crosse or Croche, John, of Sandewich, skinner 3
4884748 2322130 2322130 defendant Stokker Thomas skinner 599496 599496 Stokker, Thomas, of Sandewich, skinner 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 12.773ms