home / cp40x

names

5 rows where case_id = 2310821

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4847875 2310821 2310821 plaintiff (not given)   bishop of Salisbury   Salisbury, bishop of 0
4847876 2310821 2310821 defendant Twityng John husbandman 646906 646906 Twityng, John, of Yarcombe, Devon, husbandman 0
4847877 2310821 2310821 defendant Bonyng John weaver 646906 646906 Bonyng, John, of Yarcombe, Devon, weaver 1
4847878 2310821 2310821 defendant Brambeler John   629936 629936 Brambeler, John, of Yarcombe, hoop maker 2
4847879 2310821 2310821 defendant Brase John laborer 812102 812102 Brase, John, of Grenecombe, Devon, laborer 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 15.031ms