Get All Categories
get_categories.Rd
Get All Categories
Arguments
- within
Main category to search. Defaults to `categories`. Arguments can include `categories`, `cities`, `states`.
- about
Sub-category to search within the main category. Can include categories like `economics`, `health`, city names like `delhi` or names of states like `assam`.
Examples
get_categories()
#> categories
#> 1 agriculture
#> 2 economics
#> 3 education
#> 4 entertainment
#> 5 geography
#> 6 health
#> 7 politics
#> 8 sports
get_categories(within = "states")
#> categories
#> 1 andaman_and_nicobar
#> 2 andhra_pradesh
#> 3 arunachal_pradesh
#> 4 assam
#> 5 bihar
#> 6 chandigarh
#> 7 chhattisgarh
#> 8 dadra_and_nagar_haveli
#> 9 daman_and_diu
#> 10 delhi
#> 11 goa
#> 12 gujarat
#> 13 haryana
#> 14 himachal_pradesh
#> 15 jammu_and_kashmir
#> 16 jharkhand
#> 17 karnataka
#> 18 kerala
#> 19 lakshadweep
#> 20 madhya_pradesh
#> 21 maharashtra
#> 22 manipur
#> 23 meghalaya
#> 24 mizoram
#> 25 nagaland
#> 26 orissa
#> 27 puducherry
#> 28 punjab
#> 29 rajasthan
#> 30 sikkim
#> 31 tamil_nadu
#> 32 telangana
#> 33 tripura
#> 34 uttar_pradesh
#> 35 uttarakhand
#> 36 west_bengal
get_categories(within = "states", about = "assam")
#> [1] categories
#> <0 rows> (or 0-length row.names)