Type: Package
Title: R Wrapper for Bursa Municipality Open Data Portal
Version: 0.1.0
Maintainer: Ozancan Ozdemir <ozancanozdemir@gmail.com>
Description: Call the data wrappers for Bursa Metropolitan Municipality's Open Data Portal https://acikyesil.bursa.bel.tr/. This will return all datasets stored in different formats.
License: MIT + file LICENSE
URL: https://github.com/ozancanozdemir/bursa
BugReports: https://github.com/ozancanozdemir/bursa/issues
Depends: R (≥ 4.0)
Imports: dplyr, rvest, stringr, jsonlite, readr, openxlsx, utils
Suggests: testthat (≥ 3.0.0), devtools, roxygen2, usethis
Encoding: UTF-8
RoxygenNote: 7.2.3
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2023-08-29 16:38:52 UTC; ozancanozdemir
Author: Ozancan Ozdemir [aut, cre]
Repository: CRAN
Date/Publication: 2023-08-29 17:10:06 UTC

encoding_data

Description

this function returns a data frame where character columns are encoded as UTF-8. it is a helper function in get_data_from_bursa

Usage

encoding_data(data)

Arguments

data

A data frame obtained from get_data_from_bursa

Value

No return value, used for encoding the data frame


get_data_from_bursa

Description

Given a data name, this function returns the data frame

Usage

get_data_from_bursa(data_name)

Arguments

data_name

A data set name obtained from list_data_names()

Value

A data frame that shows the observations for given data name

Examples

#NOT RUN

# It is just an example.
get_data_from_bursa("genclik-tesis")



list_data_names

Description

list the name of the data sets available in Bursa Open Data Portal

Usage

list_data_names()

Value

A character vector that shows the name of the data set

Examples


list_data_names()


search_data_by_keyword

Description

Given a key word, this function returns the dataset names including key word

Usage

search_data_by_keyword(key_word)

Arguments

key_word

A data set name which is a character object

Value

A character vector object that shows the name of the datasets including key word

Examples


search_data_by_keyword("covid")

mirror server hosted at Truenetwork, Russian Federation.