Skip to content

Latest commit

 

History

History
224 lines (155 loc) · 6.57 KB

Resources.md

File metadata and controls

224 lines (155 loc) · 6.57 KB

Useful Resources for R. A Curated List.

Visualizations and plots:

A free book:

https://socviz.co/index.html#preface

Another free book:

https://serialmentor.com/dataviz/

What kind of chart for my data???

Although not made in R is a good place to start before plotting your data, choosing the type of chart you need, just take a look:
https://gramener.github.io/visual-vocabulary-vega/

ggpubr

Make plots that are ready for publishing in scientific journals:
https://github.com/kassambara/ggpubr

jskm

Nice Kaplan-Meier plots (and analysis)
https://cran.r-project.org/web/packages/jskm/index.html

r2D3

Make charts and graphics with D3 in R. Going beyond ggplot!
https://rstudio.github.io/r2d3/index.html

Haacker

Plot world maps based on a butterfly projection:
https://github.com/fabianehmel/haacker & https://interface.fh-potsdam.de/butterfly/

ExpandaR

Exploratory data analsysis (visually):
https://github.com/joachim-gassen/ExPanDaR

A brief explanation about how to use OpenStreetMaps and R

https://www.r-bloggers.com/accessing-openstreetmap-data-with-r/

How To Create GPS Heatmaps In ggplot

https://www.sportscidata.com/2019/03/26/how-to-create-gps-heatmaps-in-ggplot/

Nominatim

Search OSM data by name and address and generate synthetic addresses of OpenStreetMaps points (reverse geocoding)
https://github.com/hrbrmstr/nominatim

ggstatsplot

Easily plot your data along with statistical information https://github.com/IndrajeetPatil/ggstatsplot

Color Oracle

Not an R package, a program for checking if your visualization if colorblind-friendly:
https://colororacle.org/

Illuminated contours

Give an illusion of relief to your contours charts:
https://eliocamp.github.io/metR/reference/geom_contour_tanaka.html

Making 3d Scatterplots

A how-to guide:
https://datascienceplus.com/how-to-make-3d-scatter-plots-with-r-scatterplot3d-package/

Learning/teaching resources

RStudio primers

Learn about R, the tidyverse and RStudio, interactively! https://rstudio.cloud/learn/primers

A concise tutorial on data manipulation with dplyr:

http://rpubs.com/acolumbus/ocrug-data-manipulation-with-tidy-tools

Represent data on a map

A free course from census.gov:
https://www.census.gov/data/academy/courses/choroplethr.html

Journalism with R

Althought centered on journalism, it is a nice collection of video-tutorials covering almost all you need to work with R.
https://learn.r-journalism.com/en/introduction/

Data manipulation

Firstly, understand data structures in R!

https://www.datasciencecentral.com/profiles/blogs/understand-basic-to-advance-data-structure-used-in-r-to-use-it

Datapasta

Copy and paste data to and from R without dying in the attempt. It is surely a must! https://github.com/MilesMcBain/datapasta

RegExplain

A great tool for work (and understand) regular expressions:
https://www.garrickadenbuie.com/project/regexplain/

Janitor

A package for cleaning dataframes, the function tabyl() is very useful:
https://github.com/sfirke/janitor

Using googlesheets in R

A very nice tutorial:
https://datascienceplus.com/how-to-use-googlesheets-to-connect-r-to-google-sheets/

Data analysis

A nice guide about logistic regression with R:
https://uc-r.github.io/logistic_regression

How to perform a logistic regression:
https://www.r-bloggers.com/how-to-perform-ordinal-logistic-regression-in-r/

A tutorial about modeling data the tidyway:
https://rviews.rstudio.com/2019/06/19/a-gentle-intro-to-tidymodels/

Generalized additive models (GAMs):
https://noamross.github.io/gams-in-r-course/

Modeldown, a package for creating html reports with your modelling results, 5 stars!!!
https://github.com/MI2DataLab/modelDown

Free datasets

Multidomain data:
https://informationisbeautiful.net/data/

Global burden of disease:
http://ghdx.healthdata.org/gbd-results-tool

The Natural History Museum Specimen Collection:
https://data.nhm.ac.uk/

Data from elections in Spain:
https://github.com/hmeleiro/elecciones

Reporting

papaja

Prepare your report with APA formatting:
https://github.com/crsh/papaja

Tint

Create documents following Tufte's style:
https://github.com/eddelbuettel/tint

CompareGroups

The best tool for creating formatted tables in markdown, LaTex and html formats:
https://github.com/isubirana/compareGroups

Some practical tips for RMarkdown

https://jozef.io/r909-rmarkdown-tips/

remedy

An easy way to give formatting while you write rmarkdown reports:
https://thinkr-open.github.io/remedy/index.html

Miscellaneous

pdftools

Join and split pdf files in R:
https://ropensci.org/technotes/2019/04/24/pdftools-22/

spanish

R package for functions on spanish data:
https://ropenspain.github.io/spanish/

R Vocabulary

A couple of things you should know when you are starting with R (from R-Bloggers):
https://www.r-bloggers.com/r-vocabulary-part-1/
https://www.r-bloggers.com/r-vocabulary-part-2/

A webinar about how to program with R (in spanish)

https://resources.rstudio.com/webinars/programacio-n-con-r-edgar-ruiz

Git, GitHub, R

A step by step guide:
https://happygitwithr.com/index.html

Tabulizer

Extract tables from pdf files:
https://github.com/ropensci/tabulizer

Multicolor

Add color to your RMarkdown output!
https://github.com/aedobbyn/multicolor

tsbox

Probably the easiest time series analysis package:
https://www.tsbox.help/

tsfeatures

Extract features from time series data https://cran.r-project.org/web/packages/tsfeatures/vignettes/tsfeatures.html

tidyverts

A set of tools for working with time series:
https://tidyverts.org/ (example datasets in: http://tsibbledata.tidyverts.org/)

A nice introduction to mapping (spatial data):

https://statnmap.com/2018-07-14-introduction-to-mapping-with-sf-and-co/

interactions

Tools for analysis of interactions for regression models
https://github.com/jacob-long/interactions

Flexdashboard

The easiest way to create interactive dashboards or reports with R.
https://rmarkdown.rstudio.com/flexdashboard/

Making your R files executables on windows, a how to guide

http://www.r-datacollection.com/blog/making-r-files-executable/

Shortcuts in RStudio, a very nice guide

https://appsilon.com/r-studio-shortcuts-and-tips/

generativeart

Create aRt, play with maths, images and R and have a lot of fun!:
https://github.com/cutterkom/generativeart

Coding style guides:

https://jef.works/R-style-guide/
https://style.tidyverse.org/
http://adv-r.had.co.nz/Style.html