home / cp40x

names

8 rows where place_id = 592494

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3607879 1870113 1870113 defendant Cosyn or Cofyn John, senior husbandman 592494 592494 Cosyn or Cofyn, John, senior, of Dounhatherley, husbandman 0
3607880 1870113 1870113 defendant Cosyn or Cofyn John, junior husbandman 592494 592494 Cosyn or Cofyn, John, junior, of Dounhatherley, husbandman 1
3607881 1870113 1870113 defendant Cosyn or Cofyn William husbandman 592494 592494 Cosyn or Cofyn, William, of Dounhatherley, husbandman 2
4676434 2258242 2258242 defendant Cooke Robert husbandman 592494 592494 Cooke, Robert, of Dounhatherley, husbandman 0
5350259 2460203 2460203 defendant Scaltok William clerk 592494 592494 Scaltok, William, of Dounhatherley, clerk 0
5350260 2460203 2460203 defendant Cosyn John husbandman 592494 592494 Cosyn, John, of Dounhatherley, husbandman 1
5350262 2460203 2460203 defendant Okey Richard husbandman 592494 592494 Okey, Richard, of Dounhatherley, husbandman 3
5350263 2460203 2460203 defendant Geell Thomas husbandman 592494 592494 Geell, Thomas, of Dounhatherley, 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 8.483ms