bd_search {bangladesh}R Documentation

search for specific areas

Description

uses sf

Usage

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

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)

Value

A data frame

Examples

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

[Package bangladesh version 1.0.0 Index]