uses sf

get_coordinates(level = "division")

Arguments

level

administrative level of bangladesh. Should be one of: "division", "district", "upazila","union'

Value

A data frame containing latitudes and longitudes

Examples

get_coordinates(level = "division")
#>     Division      lat      lon
#> 1    Barisal 22.41889 90.34684
#> 2 Chittagong 22.70692 91.73546
#> 3      Dhaka 23.83870 90.24064
#> 4     Khulna 22.91367 89.29437
#> 5 Mymensingh 24.84675 90.38088
#> 6   Rajshahi 24.58846 89.04540
#> 7    Rangpur 25.77920 89.05685
#> 8     Sylhet 24.71515 91.66400
get_coordinates(level = "district")
#>      Division      District      lat      lon
#> 1      Khulna      Bagerhat 22.36868 89.73938
#> 2  Chittagong     Bandarban 21.80663 92.36397
#> 3     Barisal       Barguna 22.14109 90.12046
#> 4     Barisal       Barisal 22.81124 90.34170
#> 5     Barisal         Bhola 22.33555 90.73325
#> 6    Rajshahi         Bogra 24.82440 89.37881
#> 7  Chittagong Brahamanbaria 23.95292 91.08335
#> 8  Chittagong      Chandpur 23.27355 90.77113
#> 9  Chittagong    Chittagong 22.44282 91.83494
#> 10     Khulna     Chuadanga 23.60820 88.84790
#> 11 Chittagong       Comilla 23.43668 91.03426
#> 12 Chittagong   Cox's Bazar 21.48342 92.06418
#> 13      Dhaka         Dhaka 23.78687 90.25079
#> 14    Rangpur      Dinajpur 25.62974 88.78739
#> 15      Dhaka      Faridpur 23.47896 89.83889
#> 16 Chittagong          Feni 22.99939 91.41243
#> 17    Rangpur     Gaibandha 25.29859 89.50577
#> 18      Dhaka       Gazipur 24.09838 90.44497
#> 19      Dhaka     Gopalganj 23.10545 89.89955
#> 20     Sylhet      Habiganj 24.36790 91.43036
#> 21 Mymensingh      Jamalpur 24.97289 89.84639
#> 22     Khulna       Jessore 23.08969 89.17475
#> 23    Barisal     Jhalokati 22.57279 90.18395
#> 24     Khulna     Jhenaidah 23.48911 89.08727
#> 25   Rajshahi     Joypurhat 25.09266 89.08292
#> 26 Chittagong  Khagrachhari 23.16400 91.95199
#> 27     Khulna        Khulna 22.46955 89.44768
#> 28      Dhaka   Kishoreganj 24.37613 90.94235
#> 29    Rangpur      Kurigram 25.79168 89.69478
#> 30     Khulna       Kushtia 23.92294 89.02214
#> 31 Chittagong    Lakshmipur 22.89164 90.85600
#> 32    Rangpur   Lalmonirhat 26.06297 89.23613
#> 33      Dhaka     Madaripur 23.21791 90.16513
#> 34     Khulna        Magura 23.44313 89.43374
#> 35      Dhaka     Manikganj 23.84392 89.94970
#> 36     Sylhet   Maulvibazar 24.48037 91.91514
#> 37     Khulna      Meherpur 23.79411 88.70710
#> 38      Dhaka    Munshiganj 23.52577 90.41729
#> 39 Mymensingh    Mymensingh 24.69876 90.42865
#> 40   Rajshahi       Naogaon 24.89949 88.75179
#> 41     Khulna        Narail 23.13005 89.58025
#> 42      Dhaka   Narayanganj 23.72319 90.57797
#> 43      Dhaka     Narsingdi 24.00223 90.77321
#> 44   Rajshahi        Natore 24.38028 89.08674
#> 45   Rajshahi     Nawabganj 24.71567 88.26406
#> 46 Mymensingh     Netrakona 24.87054 90.84486
#> 47    Rangpur    Nilphamari 26.02451 88.92956
#> 48 Chittagong      Noakhali 22.69328 91.12472
#> 49   Rajshahi         Pabna 24.05315 89.38543
#> 50    Rangpur    Panchagarh 26.28503 88.57561
#> 51    Barisal    Patuakhali 22.19088 90.39887
#> 52    Barisal      Pirojpur 22.53352 89.99313
#> 53      Dhaka       Rajbari 23.72768 89.56159
#> 54   Rajshahi      Rajshahi 24.46571 88.65149
#> 55 Chittagong     Rangamati 22.82879 92.27998
#> 56    Rangpur       Rangpur 25.64964 89.23692
#> 57     Khulna      Satkhira 22.38080 89.13697
#> 58      Dhaka    Shariatpur 23.24737 90.40832
#> 59 Mymensingh       Sherpur 25.08220 90.07448
#> 60   Rajshahi     Sirajganj 24.39143 89.59972
#> 61     Sylhet     Sunamganj 24.93850 91.34613
#> 62     Sylhet        Sylhet 24.91921 91.98720
#> 63      Dhaka       Tangail 24.35602 89.99862
#> 64    Rangpur    Thakurgaon 25.99054 88.34549