Learn R Programming

bangladesh (version 1.0.0)

get_coordinates: get centroids of administrative areas

Description

uses sf

Usage

get_coordinates(level = "division")

Value

A data frame containing latitudes and longitudes

Arguments

level

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

Examples

Run this code
get_coordinates(level = "division")
get_coordinates(level = "district")

Run the code above in your browser using DataLab