home / cp40x

names

6 rows where case_id = 2428315

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5243574 2428315 2428315 plaintiff Obell Robert baker 586447 586447 Obell, Robert, of West Mallyng, baker 0
5243575 2428315 2428315 defendant Reve Lawrence Est Mallyng, yeoman   Reve, Lawrence, Est Mallyng, yeoman 0
5243576 2428315 2428315 defendant A Crouche Stephen yeoman 613518 613518 A Crouche, Stephen, of Wateryngbery, yeoman 1
5243577 2428315 2428315 defendant Pellond Thomas weaver 613518 613518 Pellond, Thomas, of Wateryngbery, weaver 2
5243578 2428315 2428315 defendant Dunke Thomas smith 613518 613518 Dunke, Thomas, of Wateryngbery, smith 3
5243579 2428315 2428315 defendant Osbern Robert laborer 586851 586851 Osbern, Robert, of Adyngton, laborer 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.602ms