How to (quickly) enrich a map with natural and anthropic details


In this post I show how to enrich a ggplot map with data obtained from the Open Street Map (OSM) API. After adding elevation details to the map, I add water bodies and elements identifying human activity. To highlight the areas more densely inhabitated, I propose to use a density-based clustering algorithm of OSM features.

(more…)

Thursday, 9 August 2018

tweets


Twitter: frbailo

links


blogroll


RSS r-bloggers.com

  • Model-Based Causal Forests for Heterogeneous Treatment Effects
    A new arXiv paper investigates which building blocks of random forests, especially causal forests and model-based forests, make them work for heterogeneous treatment effect estimation, both in randomized trials and observational studies. ... Continue reading: Model-Based Causal Forests for Heterogeneous Treatment Effects
  • A Major Contribution to Learning R
    Prominent statistician Frank Harrell has come out with a radically new R tutorial, rflow. The name is short for “R workflow,” but I call it “R in a box” –everything one needs for beginning serious usage of R, starting from little or no background. By serious usage I mean real ... Continue reading: A Major […]
  • Evaluating GitHub Activity for Contributors
    Say you have a bug report or feature request to make to a package. How can you use information on GitHub to manage your expectations (will there be a quick fix) and actions (should you go ahead and fork the repository)? In this post, we shall go over ... Continue reading: Evaluating GitHub Activity for […]
  • Developing React Applications in RStudio Workbench
    Introduction RStudio Workbench provides a development environment for R, Python, and many other languages. When developing a performant web application you may progress from Shiny towards tools li... Continue reading: Developing React Applications in RStudio Workbench
  • Food Crisis Analysis and, Forecasting with Neural Network Autoregression
    The war between Russia and Ukraine has affected the global food supply other than many vital things. Primarily cereal crop products have been affected the most because the imports have been provided to the world mainly through Ukraine and Russia. Let’s check the situation we’ve mentioned for G20 ... Continue reading: Food Crisis Analysis and, […]

RSS Simply Statistics

RSS Statistical Modeling, Causal Inference, and Social Science