Created
November 15, 2015 20:04
-
-
Save davidcomfort/e7df27db08f17cf2db6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
head(gdp_per_capita)[1:5] | |
## Source: local data frame [6 x 5] | |
## | |
## GDP per capita 1800 1801 1802 1803 | |
## (chr) (dbl) (dbl) (dbl) (dbl) | |
## 1 Abkhazia NA NA NA NA | |
## 2 Afghanistan 634.400 634.4000 634.4000 634.4000 | |
## 3 Akrotiri and Dhekelia NA NA NA NA | |
## 4 Albania 860.588 861.4818 862.3765 863.2721 | |
## 5 Algeria 1360.000 1361.6358 1363.2716 1364.9074 | |
## 6 American Samoa NA NA NA NA | |
str(gdp_per_capita, list.len=5) | |
## Classes 'tbl_df', 'tbl' and 'data.frame': 260 obs. of 215 variables: | |
## $ GDP per capita: chr "Abkhazia" "Afghanistan" "Akrotiri and Dhekelia" "Albania" ... | |
## $ 1800 : num NA 634 NA 861 1360 ... | |
## $ 1801 : num NA 634 NA 861 1362 ... | |
## $ 1802 : num NA 634 NA 862 1363 ... | |
## $ 1803 : num NA 634 NA 863 1365 ... | |
## [list output truncated] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment