Last updated: 2020-05-03

Checks: 2 0

Knit directory: 033_purrr_learning/

This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 9848eb4. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .Rproj.user/

Untracked files:
    Untracked:  data/gap_copy.rds
    Untracked:  data/gap_mod.rds
    Untracked:  data/gapminder_raw.csv

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/index.Rmd) and HTML (docs/index.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd 9848eb4 ogorodriguez 2020-05-03 Section 4 examples
html 4e5ffa0 ogorodriguez 2020-05-02 Build site.
Rmd 0698e7f ogorodriguez 2020-05-02 Changed order of Content section for easier read
html 4a30379 ogorodriguez 2020-05-02 Build site.
Rmd bbfa5f5 ogorodriguez 2020-05-02 Included new chapter in index
html 6669613 ogorodriguez 2020-05-01 Build site.
Rmd f7b7a47 ogorodriguez 2020-05-01 Publish the initial files for
Rmd a42eab2 ogorodriguez 2020-05-01 Start workflowr project.

Content

  1. Preliminary Concepts
  2. The map() Function
  3. Gapminder examples from simple to complex
  4. map() Over Multiple Inputs

Welcome

Welcome to my notebook practice of the packege purrr.

I will follow the same steps as indicated in Rebecca Barter’s website

This website tries to simplify the explanation of the package since it seems a bit hard at first to understand. Especially for those of us that do not have a background on IT.

Iteration is an operation that allows to repeat the same task or function to a set of objects. It helps speed up code process avoiding repetitive manual inputs that may lead to errors as well as future difficulties in revising the code to fix potential errors.

The main purpose is to master the use of the main function of the package map(), and how to apply to a lis object.

There are other tutorials online that are available and that can be checked out in conjunction to this one. You can check Jenny Bryant’s tutorial as well the site of the package in the tidyverse blog. That site in tidyverse also connects to the chapter in the R for Data Science Book on Iteration.