specifications: A table containing data pertaining to various specifications

specificationsR Documentation

A table containing data pertaining to various specifications

Description

The specifications dataset is useful for testing the col_vals_within_spec(), test_col_vals_within_spec(), and expect_col_vals_within_spec() functions. For each column, holding character values for different specifications, rows 1-5 contain valid values, the 6th row is an NA value, and the final two values (rows 7 and 8) are invalid. Different specification (spec) keywords apply to each of columns when validating with any of the aforementioned functions.

Usage

specifications

Format

A tibble with 8 rows and 12 variables:

isbn_numbers

ISBN-13 numbers; can be validated with the "isbn" specification.

vin_numbers

VIN numbers (identifiers for motor vehicles); can be validated with the "vin" specification.

zip_codes

Postal codes for the U.S.; can be validated with the "postal[USA]" specification or its "zip" alias.

credit_card_numbers

Credit card numbers; can be validated with the "credit_card" specification or the "cc" alias.

iban_austria

IBAN numbers for Austrian accounts; can be validated with the "iban[AUT]" specification.

swift_numbers

Swift-BIC numbers; can be validated with the "swift" specification.

phone_numbers

Phone numbers; can be validated with the "phone" specification.

email_addresses

Email addresses; can be validated with the "email" specification.

urls

URLs; can be validated with the "url" specification.

ipv4_addresses

IPv4 addresses; can be validated with the "ipv4" specification

ipv6_addresses

IPv6 addresses; can be validated with the "ipv6" specification

mac_addresses

MAC addresses; can be validated with the "mac" specification

Function ID

14-3

See Also

Other Datasets: game_revenue, game_revenue_info, small_table, small_table_sqlite()

Examples

# Here is a glimpse at the data
# available in `specifications`
dplyr::glimpse(specifications)


pointblank documentation built on Oct. 30, 2024, 9:29 a.m.