home / cp40x

names

6 rows where case_id = 2377040

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5068365 2377040 2377040 plaintiff Peverell Robert (legal representative)   Peverell, Robert, executrix of 0
5068366 2377040 2377040 plaintiff Peverell Wilhelmina     Peverell, Wilhelmina 1
5068367 2377040 2377040 defendant Malburgh David husbandman 588915 588915 Malburgh, David, of Plympton Earl, husbandman 0
5068368 2377040 2377040 defendant Wode William husbandman 836325 836325 Wode, William, of Ekbokelond, husbandman 1
5068369 2377040 2377040 defendant Harry John (legal representative)   Harry, John, executors of 2
5068370 2377040 2377040 defendant Webbe John butcher 605060 605060 (Webbe, John, of Saltaysshe, Cornw, butcher 3

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.623ms