This repository contains an R project designed to retrieve and analyze departmental information using the djehuty API.
The department-stats project facilitates the extraction of departmental data from the 4TU.ResearchData.
NOTE: For now, code retrieves datasets from TU Delft ( parameter can be adapted)*
- Data Retrieval: Connects to the djehuty API to fetch up-to-date departmental information.
- Data Prcoessing: Provides tools to process the retrieved data.
- Reporting: Generates a visualisation on stats per department.
- R version 4.0 or higher
- Packages:
httr,jsonlite,dplyr,ggplot2
- Clone the repository:
git clone https://github.com/4TUResearchData/department-stats.git- Navigate to the project directory:
cd department-stats- Restore the project environment (if using
renv)
renv::restore()or Install required packages:
install.packages('httr2', 'jsonlite', 'dplyr', 'purrr', 'tidyr', 'stringr', 'ggplot2')