Programming: Python and R
Python
-
10 resources for Python programmers
One of my favorite things about Python is that it's an actual language that's also useful as a teaching language. As in past years, Opensource.com had great articles demonstrating this in 2022.
-
How to Define Global Variable in Python - TecAdmin
In Python, a global variable is a variable that is defined outside of any function or class and can be accessed from anywhere within the code. Global variables are useful for storing values that need to be shared across different parts of the program, such as configuration options or flags.
R
-
Redesigning Dashboards with Shiny and Rhino: World Bank's Carbon Pricing
The modern revolution of big data has led to a boom in business intelligence. But data is only as valuable as the insights it provides. That means the true value of data is in exposing hidden insights. But if the way you share your data is slow, unscalable, or poorly designed – it might be time to redesign your dashboard.
Data scientists are insight seekers. They are modern-day explorers sifting through data to find meaningful connections. But their efforts would be in vain if not for sharing their work with those who might benefit.
-
europeanaR: Exploring A Digitized Art Database with Shiny - R programming
Art provides insight into the experiences and values of a culture. We see parallels between Shiny and art. Both are canvases for sharing insight. They are used to transform information or ideas in a way that connects with people. In this spirit, our developers built EuropeanaR, a Shiny app for exploring Europe’s digitized collection of art and cultural works.
-
Learning the Fundamentals of R, Workshop with R-Ladies Gaborone and Botswana R User Group - R Consortium
Saturday morning on the 29th of October 2022, the Botswana R User Group, the Department of Computer Science at the University of Botswana, and R-ladies Gaborone collaborated to conduct an R workshop focusing on the fundamentals of R programming for R enthusiasts. Both organizations are the only R communities in Botswana and have had online events on R related topics from speakers around the world. The Department of Computer Science provided the venue and technical support. Altogether, the seven attendees were from different institutions around Gaborone, the capital city of Botswana. Half of the attendees had a basic knowledge of R programming and the other half had a background in Java and Python programming. The workshop was instructed by Botswana R User Group founder, Edson Kambeu, and R-Ladies Gaborone co-founder, Simisani Ndaba. Edson Kambeu, who is a Finance Lecturer, traveled all the way from Francistown, a city in the north of the country to help instruct the workshop. The instructors used google docs to share educational data science websites, R resources, communities, conferences, and workshops for the attendees.
-
Check if the Column Contains a String or not - finnstats
Check if the Column Contains a String or not, The methods listed below can be used to determine whether a column of a data frame in R contains a string.
-
2022-03 Offsetting Lines and Polygons in 'grid' | Stat Tech
This document describes new functions in the ‘gridGeometry’ package for R that generate offset regions and Minkowski Sums for lines and polygons.
-
Hierarchical clustering, cutting the tree and colouring the tree leaves based on sample classes
-
R packages for visualising spatial data | Nicola Rennie
Throughout November I took part in the #30DayMapChallenge - a daily mapping, cartography, and data visualization challenge aimed at the spatial community. You can read my recap of the challenge in the blog I wrote last week, if you’re interested in finding out more about it. Throughout the challenge, I created most of my maps using R. This blog post details the R packages that I often find myself using the most often when I’m visualising spatial data - including some new ones I found out about during the #30DayMapChallenge!