Type: | Package |
Title: | R Wrapper for Izmir Municipality Open Data Portal |
Version: | 0.1.0 |
Maintainer: | Ozancan Ozdemir <ozancanozdemir@gmail.com> |
Description: | Call the data wrappers for Izmir Metropolitan Municipality's Open Data Portal. This will return all datasets formatted as Excel files (.csv or .xlsx), as well as datasets that require an API key. |
License: | MIT + file LICENSE |
URL: | https://github.com/ozancanozdemir/izmir |
BugReports: | https://github.com/ozancanozdemir/izmir/issues |
Depends: | R (≥ 3.4) |
Imports: | dplyr, rvest, stringr, jsonlite, readr, openxlsx, utils, magrittr |
Suggests: | testthat (≥ 3.0.0), devtools, roxygen2, covr, usethis |
Encoding: | UTF-8 |
RoxygenNote: | 7.2.3 |
Config/testthat/edition: | 3 |
NeedsCompilation: | no |
Packaged: | 2023-02-27 18:57:13 UTC; ozancan |
Author: | Ozancan Ozdemir [aut, cre] |
Repository: | CRAN |
Date/Publication: | 2023-02-28 14:42:33 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_izmir
Usage
encoding_data(data)
Arguments
data |
A data frame obtained from get_data_from_izmir |
get_data_from_izmir
Description
Given a data name, this function returns the data frame
Usage
get_data_from_izmir(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
## Not run:
# It is just an example.
get_data_from_izmir("asik-veysel-rekreasyon-alani-buz-pisti-kullanici-verileri")
## End(Not run)
list_data_names
Description
list the name of the data sets available in Izmir 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("doktor")