animint2 gallery
Instructions for contribution:
- First
remotes::install_github("animint/animint2@84-move-gallery-from-blocks-to-gh-pages")to get the most recent code with support for thesourceoption. - Create a data
vizobject with options:titlestring describing the data viz,sourceURL of data viz source code.
- In R, run
animint2pages(viz,"new_github_repo")to create a new GitHub repo with your viz deployed in the gh-pages branch. - Add a
Capture.PNGfile (screenshot of data viz) to the gh-pages branch of that repo. - Add
your_github_username/new_github_repoon a new line in repos.txt in gh-pages branch via a PR. - We will run
animint2::update_gallery()to update and push the changes to the gh-pages branch of this repo. - Your viz will appear as a new row on https://animint.github.io/gallery/