Learn R Programming

bangladesh (version 1.0.0)

bd_search: search for specific areas

Description

uses sf

Usage

bd_search(searchFor, level = "division", as.is = FALSE, coordinates = FALSE)

Value

A data frame

Arguments

searchFor

search keyword

level

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

as.is

boolean, if TRUE, matches exact keyword as given

coordinates

boolean, if TRUE, returns centroids of searched areas (latitudes and longitudes)

Examples

Run this code
bd_search("amtali", level = "union", as.is = TRUE, coordinates = TRUE)

Run the code above in your browser using DataLab