r2country R Package: Dataset of countries. Search Countries and Attributes Related to it."

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Asess to datasets of country information - countries names, capitals, calling code, continents, time ans do on

Use for writing Rmarkdown documents and build Shiny applications

Install

devtools::install_github("oobianom/r2country")

install.packages("r2country") 

Datasets calls

data(country_calling_code) # calling code for countries
data(country_population) # population by year for countries
data(city_time) # time by city
data(country_names) # country names
data(country_money) # countries currency
data(country_language) # country language
data(country_capital) #country capitals
data(country_continent)# continent countries

Function calls included

# get all countries

countries

#or

COUNTRIES

# direct functions


countryEndsWith        
countryHas             
countryStartsWith       
languageEndsWith       
languageHas            
languageStartsWith     

# lists to call

callingCodeOf          
capitalOf              
continentOf              
currencyOf             
languageOf             
populationOf          
timeIn  

``` some examples at r2country.obi.obianom.com



Try the r2country package in your browser

Any scripts or data that you put into this service are public.

r2country documentation built on Sept. 11, 2024, 9:24 p.m.