rleafmap: R Markdown in interactive popups

rleafmap: R Markdown in interactive popups

This is the second “big” feature coming with branch 0.2 of rleafmap (now on CRAN!). With this new version you can write popups content in R Markdown which will be processed when you generate the map. This can be useful to format popups using markdown syntax (if you need more control remind that popups can also be formatted with html tags). More interesting with R Markdown is the possibility to include outputs of R code chunks. Thus, results, simulations and…

Read More Read More

Rummaging through dusty books: Maucha diagrams in R

Rummaging through dusty books: Maucha diagrams in R

Do you know the Maucha diagram? If you are not an Hungarian limnologist, probably not! This diagram was proposed by Rezso Maucha in 1932 as a way to vizualise the relative ionic composition of water samples. However, as far I know this diagram had few success in the community. I never heard about it until my coworker Kalman (who is also Hungarian) asked me if I knew how to plot it in R. First, I have to admit I was…

Read More Read More

Fully customizable legends for rleafmap

Fully customizable legends for rleafmap

This is a functionality I wanted to add for some time… and finally it’s here! I just pushed on GitHub a new version of rleafmap which brings the possibility to attach legends to data layers. You simply need to create a legend object with the function layerLegend and then to pass this object when you create your data layer via the legend argument. Thus, a map can contain different legends, each of them being independent. This is cool because it…

Read More Read More

Juste un petit souvenir

Juste un petit souvenir

Revoir Andrea avec les autres, début juillet à la SEFS, m’a rappelé une mémorable soirée au château ! Andrea nous avait ramené une petite collection de bières de son Allemagne natale et nous avions organisé une séance de dégustation et notation… Réalisé avec R, ade4 et… je reconnais, Inkscape pour la post-production.

Contours and Networks with epimap and rleafmap

Contours and Networks with epimap and rleafmap

In February, I participated in a hackaton organized by Thibaut Jombart at Imperial College, London, to work on visualization tools for outbreak data. This was a great time spent with great people! Thanks again, Thibaut, for organizing. I took part in the development of epimap, an R package for statistical mapping. The aim of epimap is to provide tools to quickly and efficiently visualize spatial data. There is a set of functions designed to do that and you can check…

Read More Read More

Introducing rleafmap. An R package for interactive maps with Leaflet.

Introducing rleafmap. An R package for interactive maps with Leaflet.

Obviously, I am late… I released rleafmap about 1 year ago and I am just writing this blog post today. During this time, I presented the package to the french R-users community at the 3eme Rencontres R in Montpellier and could get some good feedbacks. Now, I would like to communicate better on the project. My idea is to post news about the development and communicate on new features illustrated with examples on this blog. The documentation and tutorials will…

Read More Read More

Notifications planifiées sur Ubuntu

Notifications planifiées sur Ubuntu

Au travail nous sommes à présent tenus de badger quatre fois par jour via une interface web. Je ne reviendrai pas ici sur tout le mal que je pense de la badgeuse. Le problème à présent est de composer avec ce système et de ne pas oublier de badger alors qu’on a mille choses plus intéressantes à l’esprit. D’où l’idée d’utiliser le système de notification d’Ubuntu dans une tache cron, pour s’envoyer des petits messages de rappels. On commencera par…

Read More Read More

RZH, une macro VBA Excel pour la délimitation de zones humides

RZH, une macro VBA Excel pour la délimitation de zones humides

Ce billet est l’occasion de présenter et de relacher dans la nature un petit programme VBA (hemhem…) pour faciliter la saisie et la synthèse de données dans le cadre de la délimitation administrative de zones humides sur critères botaniques. Autant dire tout de suite que ça s’adresse à un public plutôt restreint mais il en faut pour tout les goûts. Le programme en lui même est relativement simple,je recommande néanmoins aux utilisateurs de bien veiller à ce que tout fonctionne…

Read More Read More

Convertir un tableau R vers Javascript

Convertir un tableau R vers Javascript

Pour un petit projet sur lequel je travaille, j’ai eu besoin de passer des données d’un dataframe de R vers Javascript. Les données en Javascript peuvent être chargées au format JSON que R exporte avec le package RJSON. Mais pour ce projet particulier, dans un souci de simplicité et parce que je débute en Javascript, je voulais importer mes données dans le format traditionnel des arrays de Javascript. Un array en JS ça marche comme ça : Ce qui équivaut…

Read More Read More

POC devient POK

POC devient POK

La première des bonnes résolutions qui vient à l’esprit d’un bloggeur à l’aube d’une nouvelle année c’est surement d’écrire plus d’article. Mais je sais que je ne pourrai jamais tenir une telle promesse car les mois à venir vont être bien chargés. Pour me mettre un peu de pression je vient de faire l’acquisition du nom de domaine pieceofk.fr et j’ai mis à jour le header dans la foulée. En avant pour 2013 !