home / cp40x

names

8 rows where case_id = 1940544

✎ 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
3745638 1940544 1940544 plaintiff Butler Francis     Butler, Francis 0
3745639 1940544 1940544 defendant Bedyll Henry clerk 622179 622179 Bedyll, Henry, of Oldebury, clerk 0
3745640 1940544 1940544 defendant Pronte Robert   622180 622180 Pronte, Robert, of Bydmyrton, mason 1
3745641 1940544 1940544 defendant Tyler Thomas tiler 622181 622181 Tyler, Thomas, of Bydmerton, tiler 2
3745642 1940544 1940544 defendant Clerke Walter husbandman 622182 622182 Clerke, Walter, of Sopworth, Wilts, husbandman 3
3745643 1940544 1940544 defendant Sheppe Thomas husbandman 622183 622183 Sheppe, Thomas, of Sopworth, husbandman 4
3745644 1940544 1940544 defendant Mare Robert butcher 622184 622184 Mare, Robert, of Lokyngton, Sharston, butcher 5
3745645 1940544 1940544 defendant Freman Robert laborer 622184 622184 Freman, Robert, of Lokyngton, Sharston, laborer 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 13.776ms