home / cp40x

names

10 rows where case_id = 2452893

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5326075 2452893 2452893 plaintiff Spert Richard     Spert, Richard 0
5326076 2452893 2452893 defendant Wryght Thomas husbandman 758427 758427 Wryght, Thomas, of Wald Neuton, husbandman 0
5326077 2452893 2452893 defendant Smyth William husbandman 758427 758427 Smyth, William, of Wald Neuton, husbandman 1
5326078 2452893 2452893 defendant Smyth Thomas husbandman 758427 758427 Smyth, Thomas, of Wald Neuton, husbandman 2
5326079 2452893 2452893 defendant Smyth Richard husbandman 758427 758427 Smyth, Richard, of Wald Neuton, husbandman 3
5326080 2452893 2452893 defendant Lyson Thomas husbandman 758427 758427 Lyson, Thomas, of Wald Neuton, husbandman 4
5326081 2452893 2452893 defendant Smyth John husbandman 758427 758427 Smyth, John, of Wald Neuton, husbandman 5
5326082 2452893 2452893 defendant Clerk John husbandman 873664 873664 Clerk, John, of Rotjhewell, husbandman 6
5326083 2452893 2452893 defendant Keell John   587620 587620 Keell, John, of Saltfletby, cartwright 7
5326084 2452893 2452893 defendant Thorall William husbandman 609794 609794 Thorall, William, of North Thoresby, husbandman 8

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