{
  "id": "ca_statcan_vector",
  "kind": "datatype",
  "status": "draft",
  "name": "Statistics Canada vector (time series identifier)",
  "doc": "Reference code of one time series in the data tables of Statistics Canada (formerly CANSIM): the letter V and up to ten digits. The CSV downloads of a table carry it in the VECTOR column beside the DGUID and the coordinate of the series; the Web Data Service takes the number with or without the letter. Replication packages of economic papers list the vectors of the series they use.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "government"
  ],
  "country": [
    "CA"
  ],
  "langs": [
    "en",
    "fr"
  ],
  "classification": "identifier",
  "regexp": "^[Vv]\\d{1,10}$",
  "examples": [
    {
      "value": "v65201210",
      "description": "lower case, as the table downloads write it",
      "valid": true
    },
    {
      "value": "v1212389364",
      "description": "a ten-digit vector of a job vacancy table",
      "valid": true
    },
    {
      "value": "V107646543",
      "valid": true
    },
    {
      "value": "65201210",
      "description": "the number without the letter",
      "valid": false
    },
    {
      "value": "v12345678901",
      "description": "more than ten digits",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.statcan.gc.ca/en/developers/wds/user-guide"
    }
  ],
  "translations": {
    "fr": {
      "name": "Vecteur de Statistique Canada (identificateur de série chronologique)"
    },
    "ru": {
      "name": "Вектор Статистики Канады (идентификатор временного ряда)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "castatcanvectorbyname",
        "type": "field",
        "match": "regex",
        "file": "ca/ca_stats.yaml"
      },
      {
        "rule": "castatcanvectorvalue",
        "type": "data",
        "match": "func",
        "file": "ca/ca_stats.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/CA/government/ca_statcan_vector.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/CA/government/ca_statcan_vector.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CA/government/ca_statcan_vector.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ca_statcan_vector",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ca_statcan_vector.json"
  }
}