2DegreesInvesting / ds-incubator

2° Investing Initiative, ds-incubator website / eBook:
https://bit.ly/ds-incubator-videos
1 stars 5 forks source link

Proposed topics for ds-incubator meetups #11

Open maurolepore opened 4 years ago

maurolepore commented 4 years ago

.

maurolepore commented 4 years ago

Reading/computing/writing data efficiently) (thanks @cjyetman and @pranavpandya84)

maurolepore commented 4 years ago

Control flow (https://github.com/2DegreesInvesting/ds-incubator/issues/13)

maurolepore commented 4 years ago

Interacting with the file system; the fs package

maurolepore commented 4 years ago

Refactoring

cc' @AlexAxthelm

maurolepore commented 4 years ago

SQL/Azure by @tposey28

maurolepore commented 4 years ago

Testing

maurolepore commented 4 years ago

Time and pain savers:

--

Thanks @2diiKlaus

maurolepore commented 4 years ago

Regular expressions

maurolepore commented 4 years ago

Undoing things with Git

maurolepore commented 4 years ago

How to create a racing bar chart

Once the data is fed, it generates link to the output (an html object) which it can be embedded within any Rmd report., gitbook or even a shiny app

The tool is free and easy to use. Actually, the template (racing bar chart) is already available so it just needs data in specific format. The session can be conducted within 15-20 mins.

--

Thanks @pranavpandya84

Clare2D commented 4 years ago

Options for data reshaping (e.g. gather(), spread(); tidyr::pivot_longer()), tidyr::pivot_wider()).

--

Thanks @Clare2D and @vintented

maurolepore commented 4 years ago

Git, the golden rules:

Best practice for writing a commit message

maurolepore commented 4 years ago

Creating reproducible R-package environments for our R projects.

--

@cjyetman and @pranavpandya84

cjyetman commented 4 years ago

I have used packrat, which is the precursor of renv (as far as I understand). I think it can be very useful, but also in my experience it's a bit confusing to use, and if some users do it wrong and then commit, it snowballs into a lot of problems that are difficult to resolve. Because of that, I avoided this topic for ds-incubator because I was afraid it's too large of a topic to cover in this format, but maybe I should suck it up and see if I can squeeze the essentials into a short presentation. I'll look into that.

maurolepore commented 4 years ago

Handling data with unclean column names

maurolepore commented 4 years ago

Gotchas when moving code from a script to an R package

maurolepore commented 4 years ago

The drake package to manage long-running processes.

jdhoffa commented 4 years ago

Agile Development/ Minimal Viable Product/ Scrum

Proposed by @AlexAxthelm

maurolepore commented 4 years ago

Condition handling (e.g. tryCatch()) (@Clare2D)

maurolepore commented 4 years ago

Dependencies (thanks @cjyetman)

maurolepore commented 4 years ago

The conflicted package:

Inspired by a peer-debugging session with @looreen a while ago; by this discussion with @cjyetman and @jdhoffa about when to use ::; and by a slack conversation with @tposey28.

maurolepore commented 4 years ago

The pins package.

Inspired by efforts by @tposey28 to move away from local Dropbox folders (see article on using pins with azure boards), and by this conversation with @cjyetman and @jdhoffa about showing examples with data that comes from packages listed under DESCRIPTION > Suggests -- is pins an elegant solution?)

maurolepore commented 4 years ago

Iteration with purrr: 12' video of Hadley Wickham on how to bake cup cakes with purrr See also The purrr tutorial by Jenni Bryan.

maurolepore commented 4 years ago

Setting expectations for open source participation

maurolepore commented 4 years ago

Checklist manifesto

maurolepore commented 4 years ago

goodpractice::gp(): Advice on syntax, package structure, code complexity, code formatting, etc.

maurolepore commented 4 years ago

Assertions: Are we using enough of them? When to build your own versus reusing existing packages such as: assertr, assertthat, or other? See this issue.

-- Thanks @jdhoffa for motivating this post (I suspect @vintented would be interested)

maurolepore commented 4 years ago

What is the difference between sourcing a file, cloning a package and running load_all(), and installing a package with install.packages() or install_github().

--

@jdhoffa