knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
This package is inspired by the praise package and StumbleUpon. The goal is to give you some inspiration as you prepare to tell a story with data by providing you with a random URL of someone else doing the same. The motivation for this package is also to tie into the Data Science by Design initiative. We want to have a community-contributed list of things that inspire us to be creative as we share our data work with the world.
How to install:
You can install inspiRe from GitHub:
# install.packages("remotes") remotes::install_github("sastoudt/inspiRe")
Usage:
Simply load the package and ask R to inspire you! The inspire_me() function will return a link that you can explore.
set.seed(123) # Just to fix the inspiration that's shown, so the two examples don't give the same thing!
library(inspiRe) inspire_me()
If you're looking for something in particular, you can filter the inspiration using the author, affiliation, topic, or type arguments!
inspire_me(type = "data visualization")
To have the URL automatically open in your browser, set open = TRUE:
inspire_me(open = TRUE)
How to contribute:
More details about this workflow can be found here. Reach out if you get stuck!
Have ideas but not familiar with Github?
If you want to contribute links for inspiration but do not feel comfortable doing so via this process, add an issue with the link. We'll periodically go through and add them in (or another contributor will do it for us!).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.