home / cp40x

names

8 rows where case_id = 1866371

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3595968 1866371 1866371 plaintiff Noele Thomas     Noele, Thomas 0
3595969 1866371 1866371 defendant Trenowith John yeoman 588902 588902 Trenowith, John, of Crowan, Egloshayll, yeoman 0
3595970 1866371 1866371 defendant Harford Renfrew yeoman 588903 588903 Harford, Renfrew, of Forde, Egloshayll, yeoman 1
3595971 1866371 1866371 defendant Carowe John smith 588904 588904 Carowe, John, of Break, smith 2
3595972 1866371 1866371 defendant Nycholas John, senior husbandman 586416 586416 Nycholas, John, senior, of Padestowe, husbandman 3
3595973 1866371 1866371 defendant Mason William   586416 586416 Mason, William, of Padestowe, mason 4
3595974 1866371 1866371 defendant Jagowe Nicholas miller 586416 586416 Jagowe, Nicholas, of Padestowe, miller 5
3595975 1866371 1866371 defendant Payne Thomas husbandman 586416 586416 Payne, Thomas, of Padestowe, 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.242ms