This directory focuses on essential data manipulation techniques in R, utilizing core packages like dplyr and tidyr. Mastering these techniques is crucial for effective data analysis and visualization.
- 01-Selecting-Columns/: Techniques to select and rename columns using
select()from dplyr. - 02-Filtering-Rows/: Methods to filter rows based on specific conditions using
filter()from dplyr. - 03-Sorting-Data/: Approaches to sort data frames using
arrange()from dplyr. - 04-Merging-Data/: Strategies to merge datasets using functions like
left_join()andright_join()from dplyr. - 05-Grouping-and-Summarizing/: Techniques to group data and compute summary statistics using
group_by()andsummarize()from dplyr.
To explore these data manipulation techniques:
-
Clone the Repository:
git clone https://github.com/KasrAskari/learn-R-codes.git cd learn-R-codes/Data-Manipulation -
Explore the Examples: Navigate through the subdirectories to access R scripts and examples demonstrating various data manipulation methods.
- R: Install from CRAN.
- RStudio (recommended): Download from RStudio.
- tidyverse Package: Install using:
install.packages("tidyverse")
Contributions are welcome! Feel free to fork the repository, add new examples or improvements, and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Enhance your data manipulation skills in R with these practical examples.