Skip to contents

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