home / cp40x

names

6 rows where case_id = 2473451

✎ 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
5394346 2473451 2473451 plaintiff Welles James draper 585869 585869 Welles, James, of London, draper 0
5394347 2473451 2473451 defendant Jefferay Richard maltman 882545 882545 Jefferay, Richard, of Edilmeton, Middx, maltman 0
5394348 2473451 2473451 defendant Graunt Robert dyer 653845 653845 Graunt, Robert, of Kyngston upon Hull, dyer 1
5394349 2473451 2473451 defendant Hastyng Nicholas shoemaker 589895 589895 Hastyng, Nicholas, of Edelmeton, shoemaker 2
5394350 2473451 2473451 defendant Rolff William yeoman 589383 589383 Rolff, William, of Maydeston, Kent, yeoman 3
5394351 2473451 2473451 defendant Hardendale Peter dyer 585888 585888 Hardendale, Peter, of Maidstone, Kent, dyer 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 14.67ms