home / cp40x

names

6 rows where case_id = 2394042

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5125835 2394042 2394042 plaintiff Begge Robert     Begge, Robert, on his own account 0
5125836 2394042 2394042 defendant Sparough Thomas husbandman 598296 598296 Sparough, Thomas, of Spaldyng, Lincs, husbandman 0
5125837 2394042 2394042 defendant Jakson John husbandman 849461 849461 Jakson, John, of Kyrketon in Holand, Licns, husbandman 1
5125838 2394042 2394042 defendant Multon William   586846 586846 Multon, William, of Lincoln, rope maker 2
5125839 2394042 2394042 defendant Wren John chaplain 795958 795958 Wren, John, of Market Rasyn, Lincs, chaplain 3
5125840 2394042 2394042 defendant Madyr Robert husbandman 834301 834301 Madyr, Robert, of Benyngworth, Lincs, 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 15.451ms