home / cp40x

names

6 rows where case_id = 2369831

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5043990 2369831 2369831 plaintiff Grene John     Grene, John, on his own account 0
5043991 2369831 2369831 defendant Pernell Robert husbandman 839166 839166 Pernell, Robert, of East Claydon, Bucks, husbandman 0
5043992 2369831 2369831 defendant Bole Thomas   586079 586079 Bole, Thomas, of Bedford, franklin 1
5043993 2369831 2369831 defendant Legger Thomas clerk 591592 591592 Legger, Thomas, of Houghton Conquest, Beds, clerk 2
5043994 2369831 2369831 defendant Palle John yeoman 588802 588802 Palle, John, of Wotton, yeoman 3
5043995 2369831 2369831 defendant Powelyn John husbandman 839168 839168 Powelyn, John, of Great Craule, Bucks, husbandman 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 14.755ms