{"id":19600757,"url":"https://github.com/brightdaniel/orderdataprocessing","last_synced_at":"2025-02-26T15:27:02.764Z","repository":{"id":247371012,"uuid":"825666235","full_name":"BrightDaniel/OrderDataProcessing","owner":"BrightDaniel","description":"Analysing Dataset with R Programming","archived":false,"fork":false,"pushed_at":"2024-07-08T09:58:53.000Z","size":120,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-09T08:16:37.542Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BrightDaniel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-08T09:19:16.000Z","updated_at":"2024-07-21T03:59:01.000Z","dependencies_parsed_at":"2024-07-08T11:46:45.420Z","dependency_job_id":"e03f78d4-85c5-4c59-806b-9f10be7a898e","html_url":"https://github.com/BrightDaniel/OrderDataProcessing","commit_stats":null,"previous_names":["brightdaniel/orderdataprocessing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrightDaniel%2FOrderDataProcessing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrightDaniel%2FOrderDataProcessing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrightDaniel%2FOrderDataProcessing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrightDaniel%2FOrderDataProcessing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrightDaniel","download_url":"https://codeload.github.com/BrightDaniel/OrderDataProcessing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240879108,"owners_count":19872299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T09:16:05.830Z","updated_at":"2025-02-26T15:27:02.745Z","avatar_url":"https://github.com/BrightDaniel.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OrderDataProcessing\n\nThis repository contains R scripts for processing the `OrderData` dataset and practicing R programming techniques.\n\n## Project Overview\n\nThe project is divided into two main tasks:\n\n### Task 1: Processing the Dataset\n1. **Vector Operations**: Store a column from the dataset in a vector and determine its attributes.\n2. **List Operations**: Create a list containing multiple columns and determine its attributes.\n3. **Data Frame Operations**: Create a data frame with the first 4 columns and 30 rows from the dataset and determine its attributes.\n\n### Task 2: Practicing R Programming\n1. **R Operators**: Perform operations on vectors.\n2. **Conditional Statements**: Use conditional statements to control the flow of the script.\n3. **Functions**: Create and use functions in R.\n4. **Handling Missing Values**: Remove missing/NA values from data.\n\n## Files\n\n- `OrderData.r`: R script for processing the `OrderData` dataset.\n- `R_programming_practise.r`: R script demonstrating R operators, conditional statements, functions, and handling missing values.\n- `updated_data.csv`: The cleaned dataset.\n\n## Getting Started\n\n### Prerequisites\n\nEnsure you have R and RStudio installed on your machine. You will also need the following R packages:\n\n```R\ninstall.packages(\"tidyverse\")\ninstall.packages(\"here\")\ninstall.packages(\"skimr\")\ninstall.packages(\"janitor\")\n```\n\n### Running the Scripts\n\n1. Clone this repository to your local machine:\n   ```sh\n   git clone https://github.com/\u003cusername\u003e/OrderDataProcessing.git\n   cd OrderDataProcessing\n   ```\n\n2. Open RStudio and set the working directory to the repository folder:\n   ```R\n   setwd(\"\u003cpath-to-repo\u003e\")\n   ```\n\n3. Run the `OrderData.r` script to process the dataset:\n   ```R\n   source(\"OrderData.r\")\n   ```\n\n4. Run the `R_programming_practise.r` script to practice R programming techniques:\n   ```R\n   source(\"R_programming_practise.r\")\n   ```\n\n## Description of Concepts\n\n### Vector\n- A one-dimensional data structure that stores elements of the same type.\n- Example: `OrderData_vector` stores the `units` column.\n\n### List\n- A versatile data structure that can contain elements of different types.\n- Example: `OrderData_list` stores multiple columns (`order_date`, `region`, `rep`, `item`).\n\n### Data Frame\n- A two-dimensional, table-like data structure with rows and columns.\n- Example: `OrderData_dataframe` is a subset of the original data frame with the first 4 columns and 30 rows.\n\n### Attributes/Properties\n- **Type**: Indicates the data type of the structure (`vector`, `list`, `data.frame`).\n- **Length**: The number of elements or components in the structure.\n- **Names**: Column names for data frames and lists.\n- **Row names**: Row identifiers for data frames.\n\n## Additional Practice\n\nThe `R_programming_practise.r` script demonstrates:\n- **R Operators**: Performing operations on vectors.\n- **Conditional Statements**: Using `if` statements to control the flow.\n- **Functions**: Creating and using functions.\n- **Handling Missing Values**: Removing rows with NA values.\n\n## Resources\n\n- [R Manuals](https://cran.r-project.org/doc/manuals/r-release/R-intro.html)\n- [W3Schools R Tutorials](https://www.w3schools.in/r/)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- Thanks to the R community for the excellent resources and documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrightdaniel%2Forderdataprocessing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrightdaniel%2Forderdataprocessing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrightdaniel%2Forderdataprocessing/lists"}