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

  • Multi-Armed Bandit with Thompson Sampling
    Few words about Thompson Sampling Thompson Sampling is an algorithm for decision problems where actions are taken in sequence balancing ... Read moreMulti-Armed Bandit with Thompson Sampling The post Multi-Armed Bandit with Thompson Sampling first appeared on R-bloggers.
  • ‘Run for RLadies’ online event
    Hey internet! Around two weeks ago I started a club on Strava called “The RStats Strava Club”, with no real idea in mind, I just wanted to virtually gather runners from the R community, the one that I already know, and the one I didn’t know yet. It wa... The post ‘Run for RLadies’ online […]
  • 100 Time Series Data Mining Questions – Part 4
    In the last post we’ve understood and find Discords in our data. For the next question, we will still be using the datasets available at https://github.com/matrix-profile-foundation/mpf-datasets so you can try this at home. The original code (MATLAB) and data are here. Now let’s start: ... The post 100 Time Series Data Mining Questions - Part […]
  • Whose dream is this? When and how to use the Keras Functional API
    I have been working with Keras for a while now, and I’ve also been writing quite a few blogposts about it; the most recent one being an update to image classification using TF 2.0. However, in my blogposts I have always been using Keras sequential models and never shown how ... The post Whose dream […]
  • Moving on as Head of Solutions and AI at Draper and Dash
    Well, what can I say? It has been a blast over the past year and a half. In my time at the company I have managed to work on a number of fascinating projects, here is a list of just some of them: Data Science Platform – this has been the ... The post Moving […]

RSS Simply Statistics

  • Palantir Shows Its Cards
    File this under long-term followup, but just about four years ago I wrote about Palantir, the previously secretive but now soon to be public data science company, and how its valuation was a commentary on the value of data science more generally. Well, just recently Palantir filed to go public and therefore submitted a registration […]
  • Asymptotics of Reproducibility
    Every once in a while, I see a tweet or post that asks whether one should use tool X or software Y in order to “make their data analysis reproducible”. I think this is a reasonable question because, in part, there are so many good tools out there! This is undeniably a good thing and […]
  • Amplifying people I trust on COVID-19
    Like a lot of people, I’ve been glued to various media channels trying to learn about the latest with what is going on with COVID-19. I have also been frustrated - like a lot of people - with misinformation and the deluge of preprints and peer reviewed material. Some of this information is critically important […]

RSS Statistical Modeling, Causal Inference, and Social Science

  • His data came out in the opposite direction of his hypothesis. How to report this in the publication?
    Fabio Martinenghi writes: I am a PhD candidate in Economics and I would love to have guidance from you on this issue of scientific communication. I did an empirical study on the effect of a policy. I had an hypothesis, which turned out to be wrong, in the sense the the expected signs of the […]
  • Derived quantities and generative models
    Sandro Ambuehl, who sketched the above non-cat picture, writes: I [Ambuehl] was wondering why we’re not seeing reports measures of Covid19 mortaliy other than the Case Fatality Rate. In particular, what would seem far more instructive to me than CFR is a comparison of the distributions of age at death, depending on whether the diseased […]
  • The challenge of fitting “good advice” into a coherent course on statistics
    From an article I published in 2008: Let’s also not forget the benefit of the occasional dumb but fun example. For example, I came across the following passage in a New York Times article: “By the early 2000s, Whitestone was again filling up with young families eager to make homes for themselves on its quiet, […]