MyNixOS website logo
Description

R Package for Exploring Turkish Higher Education Statistics.

A user-friendly R data package that is intended to make Turkish higher education statistics more accessible.
thestats: An R package for exploring Turkish higher education statistics

thestats: An R package for exploring Turkish higher education statistics

thestats, a user-friendly R data package that is intended to make Turkish higher education statistics more accessible. The package provides researchers access to data scraped from the portal called YOKATLAS and by using it, researchers no longer have to spend additional time digging into the Turkish higher education statistics. It does not only help researchers to query the data but also provides ready-to-use aggregation possibilities. With this, the researchers can easily calculate some statistics on the level of cities and regions.

Installation

To install the package from the github repo, devtools is required and the package can be installed by using following code:

devtools::install_github("analyticsresearchlab/thestats")

Usage

thestats provides three easy-to-use functions: list_uni(), list_dept(), and list_score(). In a nutshell, list_uni() function helps to query universities in cities or regions specified by the user. Moreover, the function allows calculating aggregations such as the number of universities per year in cities or regions specified by the user. The function has four arguments: region_names, city_names, aggregation and lang.

  • region_names argument is to pass names of the regions shown in Table 2.
  • city_names is for specifying city names, aggregation is to provide the universities in specific regions or cities.
  • lang argument is to select English or Turkish as a language of returned results by the function. Let's assume that the user would like to query universities in Izmir, which is a city in the west part of Turkey:
list_uni(region_names = "all", city_names = "Izmir")

Following example can be used to get the number of universities per type (state or private) in Izmir and Mugla.

list_uni(region_names = "all", 
         city_names = c("Izmir", "Mugla"), 
         aggregation = "count_by_city")

list_dept() function helps to query universities, departments in cities or regions. Moreover, it allows calculating aggregations such as the number of universities or the number of universities having specific departments per year in cities or regions specified. The function also has same arguments like list_uni(). It allows users to query departments or universities per cities or regions. As shown in the following example, there is a possibility to get universities that have Statistics departments in Izmir and Mugla.

list_dept(region_names = "all", 
          city_names = c("Izmir", "Mugla"), 
          department_names = "Statistics")

list_score() function is for querying detailed statistics about universities at the level of departments, cities, regions. The function has an additional argument is var_ids allows users to specify the type of statistics they would like to see as described in Table 3. As shown in the following example, users can pass statistics they want to see to var_ids argument. In this example, X190 refers the number of assistant professors and X196 refers the number of incoming exchange students. Following the usage of the function, it will return these statistics for the universities which are located in Izmir and have the Statistics department.

list_score(region_names = "all", 
           city_names = "Izmir",
           university_names = "all",
           department_names = "Statistics", 
           var_ids = c("X190", "X196"))

Citation

If you use thestats, please cite it:

@misc{thestats,
  author = {Aydin, O. and Cavus, M.},
  title = {thestats: An R package for exploring Turkish higher education statistics},
  year = {2021},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/analyticsresearchlab/thestats}}
}

Contact

For any questions and feedback, please dont hesitate to contact us via following e-mail adresses:

Metadata

Version

0.1.0

License

Unknown

Platforms (77)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows