home / cp40x

names

6 rows where case_id = 2313720

✎ 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
4857453 2313720 2313720 plaintiff Bokkyng Nicholas     Bokkyng, Nicholas 0
4857454 2313720 2313720 defendant Martyn Robert farmer 586675 586675 Martyn, Robert, of Brandon, farmer 0
4857455 2313720 2313720 defendant Snowe Philip miller 636554 636554 Snowe, Philip, of Wigenhale, miller 1
4857456 2313720 2313720 defendant Nutte Simon yeoman 591134 591134 Nutte, Simon, of Est Tudenham, yeoman 2
4857457 2313720 2313720 defendant Gardyner William butcher 813603 813603 Gardyner, William, of Bylnete, butcher 3
4857458 2313720 2313720 defendant Thornekym Edmund yeoman 813604 813604 Thornekym, Edmund, of Beston juxta Milham, 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 14.091ms