Some R Packages I would love to explore (October 2020)

20 October 2020·
Carlos Cámara-Menoyo
Carlos Cámara-Menoyo
· 2 min read
blog

These are some packages I have just discovered which I would like to try/use in the future. For future reference, I have added a brief description and links to source code:

Data munging:

  • janitor: has simple functions for examining and cleaning dirty data. It was built with beginning and intermediate R users in mind and is optimized for user-friendliness. Advanced R users can already do everything covered here, but with janitor they can do it faster and save their thinking for the fun stuff.
  • rex makes writing regular expressions easier by using a friendlier syntax. I always have some difficulties memorizing regex expressions and usually have to use the Regex101 (a great resource, by the way) as a reminder.
  • the validate + errorlocate + deductive + dcmodify team. These group of packages from the same author seem to work as a team. validate validates data’s structure (It can even validate data from rule files written in yaml), errorlocate finds the faulty observations, which can later be corrected by either dcmodify or deductive (from predefinded rules)

Visualization:

  • hrbrthemes provides additional Themes and Theme Components for my beloved ggplot2.
  • see provides additional color palettes and backgrounds for ggplot
  • ggannotate: positioning annotations in ggplot.

Geospatial:

  • rmapzen: a mapzen API client for R (Documentation). I am always looking for good geocoding services (currently using photon), and this package uses Mapzen’s Pelias geocoding (amongst other things).
  • parzer parses messy coordinates and converts from different formats to decimal. Also, provides helper functions such as getting hemisphere.
Carlos Cámara-Menoyo
Authors
Principal Research Software Engineer

I am an interdisciplinary researcher whose research articulates around how physical and digital infrastructures, especially those that are commonly produced, respond to and are shaped by societal challenges. I’ve worked as an architect, drupal developer, project manager, lecturer, data scientist, and currently as Principal Research Software Engineer.

My research interests revolve around the social aspect of technology and methods to surface the world-views that are invariably embedded in technical artefacts such as cities, software or platforms. To do so, I use mixed methods with a preference for digital methods, participatory methods and data visualisation and a keen interest in EDI and open research best practices to make research Findable, Accessible, Interoperable, and Reusable