home / cp40x

names

6 rows where case_id = 2095338

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4199391 2095338 2095338 plaintiff Gybbes Richard attorney   Gybbes, Richard, attorney 0
4199392 2095338 2095338 defendant Davidge Christopher merchant 701993 701993 Davidge, Christopher, of Burport, merchant 0
4199393 2095338 2095338 defendant Percey Nicholas esq 706625 706625 Percey, Nicholas, of Shaftesburye, esq 1
4199394 2095338 2095338 defendant Stracheleighe Nicholas gent 669122 669122 Stracheleighe, Nicholas, of Burporte, gent 2
4199395 2095338 2095338 defendant Balston John merchant 669122 669122 Balston, John, of Burporte, merchant 3
4199396 2095338 2095338 defendant Loring Robert yeoman 699570 699570 Loring, Robert, of Marshwood, yeoman 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 13.736ms