home / cp40x

names

8 rows where place_id = 600842

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3642798 1908195 1908195 defendant Hope James tailor 600842 600842 Hope, James, of Beterysden, tailor 0
4605808 2232930 2232930 defendant Brusse Peter   600842 600842 Brusse, Peter, of Beterysden 3
4913356 2330674 2330674 defendant Moyn Nicholas   600842 600842 Moyn, Nicholas, of Beterysden, nail maker 0
4918335 2332253 2332253 defendant Toche John collier 600842 600842 Toche, John, of Beterysden, collier 0
4957127 2344090 2344090 defendant Clerk William cordwainer 600842 600842 Clerk, William, of Beterysden, cordwainer 2
5081684 2381027 2381027 defendant Frere William yeoman 600842 600842 Frere, William, of Beterysden, yeoman 4
5112775 2390128 2390128 plaintiff John Thomas   600842 600842 John,Thomas, of Beterysden 0
5112776 2390128 2390128 defendant Bocher Thomas husbandman 600842 600842 Bocher, Thomas, of Beterysden, husbandman 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 14.804ms