check_product_id: Check product ID for errors

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Product ID must satisfy: 10-digit identifier (i.e. 1310008901). First two digits are the Subject (i.e. 13=Health). Digits 3 and 4 are the product type (i.e. 10=table/cube). Digits 5 to 8 are the sequential numbers within the subject (i.e. 0089). Digits 9 and 10 are optional, to identify the simple view of a table/cube (i.e. 01)

Usage

1
check_product_id(product_id)

Arguments

product_id

ID of the product/table

Value

TRUE

Examples

1
2
3
4
## Not run: 
check_product_id(1310008901)

## End(Not run)

tweed1e/statcanopener documentation built on Jan. 19, 2021, 4:23 p.m.