Skip to content

Instantly share code, notes, and snippets.

@benzipperer
Last active April 18, 2019 19:34
Show Gist options
  • Select an option

  • Save benzipperer/f7e447e8b03b66e57efd1f1acd7aa48f to your computer and use it in GitHub Desktop.

Select an option

Save benzipperer/f7e447e8b03b66e57efd1f1acd7aa48f to your computer and use it in GitHub Desktop.
table example
sysuse state_geocodes, clear
list, ab(20)

     +---------------------------------------------------------------------------------------------------------+
     |           state_name   state_abb   fips   census   division        division_name   region   region_name |
     |---------------------------------------------------------------------------------------------------------|
  1. |          Connecticut          CT      9       16          1          New England        1     Northeast |
  2. |                Maine          ME     23       11          1          New England        1     Northeast |
  3. |        Massachusetts          MA     25       14          1          New England        1     Northeast |
  4. |        New Hampshire          NH     33       12          1          New England        1     Northeast |
  5. |         Rhode Island          RI     44       15          1          New England        1     Northeast |
     |---------------------------------------------------------------------------------------------------------|
  6. |              Vermont          VT     50       13          1          New England        1     Northeast |
  7. |           New Jersey          NJ     34       22          2      Middle Atlantic        1     Northeast |
  8. |             New York          NY     36       21          2      Middle Atlantic        1     Northeast |
  9. |         Pennsylvania          PA     42       23          2      Middle Atlantic        1     Northeast |
 10. |             Illinois          IL     17       33          3   East North Central        2       Midwest |
     |---------------------------------------------------------------------------------------------------------|
 11. |              Indiana          IN     18       32          3   East North Central        2       Midwest |
 12. |             Michigan          MI     26       34          3   East North Central        2       Midwest |
 13. |                 Ohio          OH     39       31          3   East North Central        2       Midwest |
 14. |            Wisconsin          WI     55       35          3   East North Central        2       Midwest |
 15. |                 Iowa          IA     19       42          4   West North Central        2       Midwest |
     |---------------------------------------------------------------------------------------------------------|
 16. |               Kansas          KS     20       47          4   West North Central        2       Midwest |
 17. |            Minnesota          MN     27       41          4   West North Central        2       Midwest |
 18. |             Missouri          MO     29       43          4   West North Central        2       Midwest |
 19. |             Nebraska          NE     31       46          4   West North Central        2       Midwest |
 20. |         North Dakota          ND     38       44          4   West North Central        2       Midwest |
     |---------------------------------------------------------------------------------------------------------|
 21. |         South Dakota          SD     46       45          4   West North Central        2       Midwest |
 22. |             Delaware          DE     10       51          5       South Atlantic        3         South |
 23. | District of Columbia          DC     11       53          5       South Atlantic        3         South |
 24. |              Florida          FL     12       59          5       South Atlantic        3         South |
 25. |              Georgia          GA     13       58          5       South Atlantic        3         South |
     |---------------------------------------------------------------------------------------------------------|
 26. |             Maryland          MD     24       52          5       South Atlantic        3         South |
 27. |       North Carolina          NC     37       56          5       South Atlantic        3         South |
 28. |       South Carolina          SC     45       57          5       South Atlantic        3         South |
 29. |             Virginia          VA     51       54          5       South Atlantic        3         South |
 30. |        West Virginia          WV     54       55          5       South Atlantic        3         South |
     |---------------------------------------------------------------------------------------------------------|
 31. |              Alabama          AL      1       63          6   East South Central        3         South |
 32. |             Kentucky          KY     21       61          6   East South Central        3         South |
 33. |          Mississippi          MS     28       64          6   East South Central        3         South |
 34. |            Tennessee          TN     47       62          6   East South Central        3         South |
 35. |             Arkansas          AR      5       71          7   West South Central        3         South |
     |---------------------------------------------------------------------------------------------------------|
 36. |            Louisiana          LA     22       72          7   West South Central        3         South |
 37. |             Oklahoma          OK     40       73          7   West South Central        3         South |
 38. |                Texas          TX     48       74          7   West South Central        3         South |
 39. |              Arizona          AZ      4       86          8             Mountain        4          West |
 40. |             Colorado          CO      8       84          8             Mountain        4          West |
     |---------------------------------------------------------------------------------------------------------|
 41. |                Idaho          ID     16       82          8             Mountain        4          West |
 42. |              Montana          MT     30       81          8             Mountain        4          West |
 43. |               Nevada          NV     32       88          8             Mountain        4          West |
 44. |           New Mexico          NM     35       85          8             Mountain        4          West |
 45. |                 Utah          UT     49       87          8             Mountain        4          West |
     |---------------------------------------------------------------------------------------------------------|
 46. |              Wyoming          WY     56       83          8             Mountain        4          West |
 47. |               Alaska          AK      2       94          9              Pacific        4          West |
 48. |           California          CA      6       93          9              Pacific        4          West |
 49. |               Hawaii          HI     15       95          9              Pacific        4          West |
 50. |               Oregon          OR     41       92          9              Pacific        4          West |
     |---------------------------------------------------------------------------------------------------------|
 51. |           Washington          WA     53       91          9              Pacific        4          West |
     +---------------------------------------------------------------------------------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment