home / cp40x

names

6 rows where case_id = 2420838

✎ 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
5217438 2420838 2420838 plaintiff Fenne Robert esq   Fenne, Robert, esq 0
5217439 2420838 2420838 defendant Boys Nicholas husbandman 618213 618213 Boys, Nicholas, of Pottersbury, husbandman 0
5217440 2420838 2420838 defendant Nayleston Thomas yeoman 590028 590028 Nayleston, Thomas, of Bukby, yeoman 1
5217441 2420838 2420838 defendant Coyte John husbandman 796363 796363 Coyte, John, of Shiryngton, Bucks, husbandman 2
5217442 2420838 2420838 defendant Smyth Thomas husbandman 639901 639901 Smyth, Thomas, of Shyryngton, husbandman 3
5217443 2420838 2420838 defendant Corbrande John husbandman 860431 860431 Corbrande, John, of Aysshyn, 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 10.039ms