From f03a965a28c7b95855371c52392aadd1750edc91 Mon Sep 17 00:00:00 2001 From: franc Date: Fri, 22 Sep 2023 18:34:49 -0300 Subject: [PATCH] update r 1.2 --- README.md | 14 +++++++++++-- docs/examples/dplyr/dplyr.ipynb | 6 +++--- docs/examples/forcats/forcats.ipynb | 6 +++--- docs/examples/ggplot2/ggplot2.ipynb | 6 +++--- docs/index.md | 31 ++++++++++++++++++++++++++++- mkdocs.yml | 21 +++++++++++-------- 6 files changed, 64 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 5bdb5e7..2525bcf 100644 --- a/README.md +++ b/README.md @@ -8,14 +8,16 @@ This repository serves as a hub for various Cheat Sheets related to -the field of Data Science (with Python). What sets these Cheat Sheets apart is their +the field of Data Science (with Python and R). What sets these Cheat Sheets apart is their multidimensional approach to enhancing the learning experience. Each Cheat Sheet is made available in three distinct formats: **PDF**, **Streamlit**, and **Google Colab**. This threefold approach to guarantee that learners can interact with the content in a manner that aligns with their preferences and learning style. -**Content** +## Content + +### Python | Topic | PDF | Streamlit | Google Colab | |--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| @@ -26,6 +28,14 @@ a manner that aligns with their preferences and learning style. | scikit-learn | | | Open In Colab | | polars | | | Open In Colab | +### R + +| Topic | PDF | Streamlit | Google Colab | +|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| dplyr | | | Open In Colab | +| ggplot2 | | | Open In Colab | +| forcats | | | Open In Colab | + > **Note**: The PDF format cheat sheets included here are authored by other contributors and have been used as sources of inspiration for the content presented. ## More Information diff --git a/docs/examples/dplyr/dplyr.ipynb b/docs/examples/dplyr/dplyr.ipynb index 285376a..394b79a 100644 --- a/docs/examples/dplyr/dplyr.ipynb +++ b/docs/examples/dplyr/dplyr.ipynb @@ -5,13 +5,13 @@ "metadata": {}, "source": [ "
\n", - " \n", + " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", - " \n", + " \n", " \"Open\n", " \n", "
" diff --git a/docs/examples/forcats/forcats.ipynb b/docs/examples/forcats/forcats.ipynb index 70b617f..ea6146c 100644 --- a/docs/examples/forcats/forcats.ipynb +++ b/docs/examples/forcats/forcats.ipynb @@ -7,13 +7,13 @@ }, "source": [ "
\n", - " \n", + " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", - " \n", + " \n", " \"Open\n", " \n", "
" diff --git a/docs/examples/ggplot2/ggplot2.ipynb b/docs/examples/ggplot2/ggplot2.ipynb index dd3cc6f..e9a4c06 100644 --- a/docs/examples/ggplot2/ggplot2.ipynb +++ b/docs/examples/ggplot2/ggplot2.ipynb @@ -5,13 +5,13 @@ "metadata": {}, "source": [ "
\n", - " \n", + " \n", " \n", " \n", - " \n", + " \n", " \n", " \n", - " \n", + " \n", " \"Open\n", " \n", "
\n", diff --git a/docs/index.md b/docs/index.md index 6cdee43..206c459 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,7 +1,7 @@ # Cheat Sheets for Data Science Learning This repository serves as a hub for various Cheat Sheets related to -the field of Data Science (with Python). What sets these Cheat Sheets apart is their +the field of Data Science (with Python and R). What sets these Cheat Sheets apart is their multidimensional approach to enhancing the learning experience. Each Cheat Sheet is made available in three distinct formats: @@ -11,6 +11,8 @@ Each Cheat Sheet is made available in three distinct formats: ## Content +### Python + ::cards:: cols=3 - title: Python @@ -58,6 +60,33 @@ Each Cheat Sheet is made available in three distinct formats: ::/cards:: +### R + +::cards:: cols=3 + +- title: Dplyr + content: " + dplyr is a data manipulation tool that offers a consistent set of actions for solving common data manipulation tasks. + " + image: https://rstudio.github.io/cheatsheets/html/images/logo-dplyr.png + url: ./examples/dplyr/dplyr/ + +- title: Ggplot2 + content: " + ggplot2 is a system for declaratively creating graphics, based on The Grammar of Graphics. + " + image: https://rstudio.github.io/cheatsheets/html/images/logo-ggplot2.png + url: ./examples/ggplot2/ggplot2/ + +- title: Forcats + content: " + forcats package is to provide a suite of tools that solve common problems with factors (in R). + " + image: https://rstudio.github.io/cheatsheets/html/images/logo-forcats.png + url: ./examples/forcats/forcats/ + +::/cards:: + > **Note**: The PDF format cheat sheets included here are authored by other contributors and have been used as sources of inspiration for the content presented. ## References diff --git a/mkdocs.yml b/mkdocs.yml index bf8f9df..c58fff3 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,7 +1,7 @@ # Copyright (c) 2016-2022 Martin Donath # Project information -site_name: DS-Cheat-Sheets +site_name: DS CheatSheets site_url: https://github.com/fralfaro/DS-Cheat-Sheets site_author: Francisco Alfaro site_description: @@ -43,7 +43,7 @@ extra_javascript: theme: name: material language: en - logo: images/python.png + logo: images/rpython.svg favicon: images/logo_fam.png features: - navigation.instant @@ -96,12 +96,17 @@ plugins: nav: - Home: index.md - Cheat Sheets: - - Python: examples/python/python.ipynb - - Numpy: examples/numpy/numpy.ipynb - - Pandas: examples/pandas/pandas.ipynb - - Matplotlib: examples/matplotlib/matplotlib.ipynb - - Scikit-Learn: examples/scikit-learn/sklearn.ipynb - - Polars: examples/polars/polars.ipynb + - Python: + - Python: examples/python/python.ipynb + - Numpy: examples/numpy/numpy.ipynb + - Pandas: examples/pandas/pandas.ipynb + - Matplotlib: examples/matplotlib/matplotlib.ipynb + - Scikit-Learn: examples/scikit-learn/sklearn.ipynb + - Polars: examples/polars/polars.ipynb + - R: + - Dplyr: examples/dplyr/dplyr.ipynb + - Ggplot2: examples/ggplot2/ggplot2.ipynb + - Forcats: examples/forcats/forcats.ipynb