bd_search: search for specific areas

View source: R/bd_search.R

bd_searchR 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)

ovirahman/bangladesh documentation built on Nov. 6, 2022, 2:51 a.m.