home / cp40x

names

6 rows where place_id = 670401

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3996895 2023655 2023655 defendant Shynkwyn John clerk 670401 670401 Shynkwyn, John, of Tottell, clerk 2
4044521 2040492 2040492 defendant Williamson Giles husbandman 670401 670401 Williamson, Giles, of Tottell, husbandman 1
4275110 2121245 2121245 defendant Smyth Randolph carpenter 670401 670401 Smyth, Randolph, of Tottell, carpenter 0
4275200 2121267 2121267 defendant Smyth Randolph carpenter 670401 670401 Smyth, Randolph, of Tottell, carpenter 0
4361565 2151299 2151299 defendant Bellard John laborer 670401 670401 Bellard, John, of Tottell, laborer 0
4361569 2151300 2151300 defendant Bellard John laborer 670401 670401 Bellard, John, of Tottell, laborer 0

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 16.491ms