rc_by_callingcode: Search by Calling Code

View source: R/restcountries_api.R

rc_by_callingcodeR Documentation

Search by Calling Code

Description

Country codes are a component of the international telephone numbering plan, and are necessary only when dialing a telephone number to establish a call to another country. Country codes are dialed before the national telephone number. By convention, international telephone numbers are represented by prefixing the country code with a plus sign +, which also indicates to the subscriber that the local international call prefix must first be dialed. https://en.wikipedia.org/wiki/List_of_country_calling_codes

Usage

rc_by_callingcode(code)

Arguments

code

Vector(character) which is the country telephone number prefixes for reaching telephone subscribers in the network of the member countries or regions.

Examples

## Not run: 
x <- rc_by_callingcode("234")
x

## End(Not run)


denironyx/countries documentation built on July 9, 2024, 5:20 a.m.