This project focuses on cleaning and analyzing survey data using R. The process includes renaming columns for clarity and visualizing categorical variables.
data/: Contains the raw and cleaned data files.scripts/: R scripts for data processing and visualization.README.md: Project overview and instructions.
- R < 4.1
- Packages:
tidyverse,janitor,here,pacman
But just use renv to install the required packages.
# Install renv
install.packages("renv")
renv::restore()
-
Data Cleaning:
- Renames long column names for easier reference.
- Converts character variables to factors where appropriate.
-
Data Visualization:
- Generates bar plots for categorical variables with more than 8 categories.
- Excludes
NAvalues from plots and notes the count below each plot.
Run the quarto report to process the data and generate visualizations.