marinebon / infographiqR

R functions for creation of interactive intelligent infographics, ie infographiq
https://marinebon.github.io/infographiqR
MIT License
11 stars 2 forks source link

getting started with function create_site #5

Closed reikopm closed 7 years ago

reikopm commented 7 years ago

I'm new to R and GitHub so please excuse my questions if they are naive. It looks to me that the function create_site creates new infographiq .html for every entry in the csv_indicators.csv file with an entry in the csv_url column. I don't want to overwrite someone else's infographiq .html

Am I supposed to edit the csv_indicators.csv to only create infographiq .htmls for my indicator? And only pull my .html to github?

I see there is a column in the csv_indicators.csv files for an image, but I don't see that it is used in the create_site code.

Thanks, -Reiko (MBARI)

7yl4r commented 7 years ago

Hi Reiko! We are still working on some better documentation, but it sounds like you have the right idea.

Github, git, and R can be tricky to figure out at first but they are great tools once you get past the initial learning curve. I think what you want to do is "fork" our repository that uses the infographiq package: info-fk. This will create a copy of the repository on your github account.

I have been working to get our corals infographic working first so I suggest you look at that one as an example. The README.md and Docs/Description.Rmd have some more information.

7yl4r commented 7 years ago

Since the info-fk repository is getting more complicated, I have created a simple demo infographic repository called info-demo. I have also written a very brief overview in the README on that repo.

bbest commented 7 years ago

Ok, lots of improvement here by @7yl4r. Thanks for giving this a spin @reikopm and your good questions. I'm going to:

  1. Populate the working beginnings for info-mb using Jarrod's Rockfish Recruitment and Ecosystem Assessment Survey dataset.

  2. Update documentation (#22).

  3. Screen share with you @reikopm to show how to recreate and iterate.