protontypes / open-sustainable-technology

A directory and analysis of the open source ecosystem in the areas of climate change, sustainable energy, biodiversity and natural resources.
https://opensustain.tech
Creative Commons Attribution 4.0 International
1.97k stars 230 forks source link

Create a large hexagon with all the R hexagons by using the URL as filter #347

Open Ly0n opened 6 months ago

Ly0n commented 6 months ago

@andrew shows in #182 how to sort images by URL. Since the R hexagons are standardised, we could create an R in sustainability collage of all projects, or as a landing page for R people in sustainability. By grouping projects by theme in the visualisation, this would also be a great way to browse and discover projects. Such a website could be relatively easy to create.

Something like this but interactive: https://medium.com/@adrian.joseph/improve-your-r-workflow-with-these-must-have-r-packages-be47dacd89bc

Ly0n commented 6 months ago

I found a tutorial how to do this: https://masalmon.eu/2018/02/22/hexcombine/

ayushman2046 commented 2 weeks ago

I would like to contribute, can you have me through the requirement here please?

Ly0n commented 2 weeks ago

@ayushman2046 You may need some basic R skills to do this. But the tutorial hexcombine should provide all you need. It looks like a very good learning project if you have no previous experience with R.

The JSON endpoint of the project image URLs can be found here, including all metadata: https://ost.ecosyste.ms/api/v1/projects/images

The first image found in the README of the R packages should be the hexagon.

As this is purely a marketing project for the R community in the area of sustainability, you can do virtually anything you like, although it would be nice to create a new shape from the hexagons or sort them by category.

In the end, the only requirements are that it is open source licensed and that we can update the images with new projects we list. We have done this for example with the word cloud in Google Colab: https://colab.research.google.com/github/protontypes/osta/blob/main/topic_extraction.ipynb