Skip to content

mapcircles help

3 messages · Mistry, Krishan, Timothée Giraud, Chris English

#
Dear Sirs/Madame,


I have a spatial polygons data frame and want to map proportional circles on it. I have tried using the map circles function in rCarto as seen below but it doesn't seem to work an continues to show errors. Do I need to convert the spatial polygons data frame to a shapefile if so I would I do this?



mapCircles(shpFile, shpId, df, dfId, var,
          fixedNorm = FALSE, shareOfCircles = 0.02,
          radiusMax = 0.5, valueMax = max(df[, var], na.rm = TRUE),
          lgdRnd = 0, posLeg = "bottomleft",
          circleCol = "#FD8D3C", baseCol = "#FFEDA0",
          title = var, legend = var, author = "author", sources = "sources",
          scalebar = FALSE, scalebarSize, scalebarText,
          northArrow = FALSE, northArrowSize,
          width = NULL, height = NULL, txtCex = NULL)



Any advice is greatly appreciated.


Many Thanks

Krish
#
Hi,
As maintainer of the rCarto package, my advice would be to switch to the 
cartography package (of which I am also maintainer) and the 
propSymbolsLayer function in it. Examples and the vignette will help you 
through the mapping process.

My turn to ask for an advice:
rCarto was my first package and after a while we decide to build an 
other, better, thematic mapping package (i.e. the cartography package). 
cartography is much more R-ish in its use of the graphic device, offers 
more kinds of maps and has more options to customize the maps.
So my question is: what should I do with rCarto? Remove it from CRAN? 
Deprecate all functions in it? Add a visible comment to incite users to 
switch to cartography?

Any advice is greatly appreciated.
Thanks,
Tim





Le 11/01/2016 10:56, Mistry, Krishan a ?crit :
#
Timothee,
Best to ask as new question, perhaps "When to deprecate a package?", as
that will put you in front of the many many package authors and maintainers
that inform this discussion.
My thoughts.
Chris
On Jan 11, 2016 1:19 PM, "Timoth?e Giraud" <timothee.giraud at ums-riate.fr>
wrote: