home / cp40x

names

6 rows where case_id = 1866919

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3597759 1866919 1866919 plaintiff Scotte William knight, sheriff of Kent   Scotte, William, knight, sheriff of Kent 0
3597760 1866919 1866919 defendant Coverley Adam gent 589481 589481 Coverley, Adam, of Erhythe, gent 0
3597761 1866919 1866919 defendant Dewere Thomas husbandman 589482 589482 Dewere, Thomas, of Wodecherch, husbandman 1
3597762 1866919 1866919 defendant Foliet Robert husbandman 589483 589483 Foliet, Robert, of Warehorn, husbandman 2
3597763 1866919 1866919 defendant Potyn John draper 589484 589484 Potyn, John, of Wryttisham, draper 3
3597764 1866919 1866919 defendant Wotton Edmund gent 589485 589485 Wotton, Edmund, of Eastchyrche, Isle of Shepey, gent 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 8.143ms