home / cp40x

names

5 rows where place_id = 840428

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4759098 2283193 2283193 defendant Grey John (legal representative) 840428 840428 Grey, John, of East Bedewynd, executors of 1
4781196 2290130 2290130 defendant Grey John (legal representative) 840428 840428 Grey, John, of Est Bedewynd, executors of 0
5051202 2371975 2371975 defendant Symmes Robert husbandman 840428 840428 Symmes, Robert, of East Bedewynd, husbandman 0
5051203 2371975 2371975 defendant Serle Robert husbandman 840428 840428 Serle, Robert, of East Bedewynd, husbandman 1
5248443 2429672 2429672 defendant Burwode William miller 840428 840428 Burwode, William, of Est Bedewynd, miller 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.465ms