home / cp40x

names

10 rows where case_id = 1978016

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3863599 1978016 1978016 plaintiff Hyll Richard     Hyll, Richard 0
3863600 1978016 1978016 plaintiff Agace Thomas     Agace, Thomas 1
3863601 1978016 1978016 plaintiff Hyll Oliver     Hyll, Oliver 2
3863602 1978016 1978016 defendant Fulven Henry innholder 639349 639349 Fulven, Henry, of Gildeford, innholder 0
3863603 1978016 1978016 defendant Overyngton Robert husbandman 591337 591337 Overyngton, Robert, of Ewhurst, husbandman 1
3863604 1978016 1978016 defendant Chesseman Richard husbandman 626308 626308 Chesseman, Richard, of Shire, husbandman 2
3863605 1978016 1978016 defendant Egger William husbandman 626308 626308 Egger, William, of Shire, husbandman 3
3863606 1978016 1978016 defendant Cheynell John laborer 641744 641744 Cheynell, John, of Shite, laborer 4
3863607 1978016 1978016 defendant Levett John husbandman 626308 626308 Levett, John, of Shire, husbandman 5
3863608 1978016 1978016 defendant Smalle Robert husbandman 626308 626308 Smalle, Robert, of Shire, husbandman 6

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