Open jayfuhrman opened 1 year ago
Trying to use the mapGCAMReg32
template as follows:
rmap::map(h2_p_reg,
+ underLayer = rmap::mapGCAMReg32,
+ background = T,
+ ncol = 1,
+ legendType = "continuous",
+ title = "2050 industrial hydrogen price (2019$/GJ)")
It throws the following error: subRegions in data not present in shapefile are: EU-12, EU-15
. Is there a fix for this?
Many thanks in advance!
Hi Paul,
Can you try renaming your subRegions EU_12, EU_15 and see if that helps?
Best
Zarrar
On Wed, Jan 31, 2024 at 1:17 PM Paul Wolfram @.***> wrote:
Trying to use the mapGCAMReg32 template as follows:
rmap::map(h2_p_reg,
- underLayer = rmap::mapGCAMReg32,
- background = T,
- ncol = 1,
- legendType = "continuous",
- title = "2050 industrial hydrogen price (2019$/GJ)")
It throws the following error: subRegions in data not present in shapefile are: EU-12, EU-15. Is there a fix for this? Many thanks in advance!
— Reply to this email directly, view it on GitHub https://github.com/JGCRI/rmap/issues/93#issuecomment-1919662196, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB37WSZYQTPSCARRMTB3ORDYRKDCLAVCNFSM6AAAAAAWVVIXQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJZGY3DEMJZGY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
That did the trick indeed. Many thanks @zarrarkhan!
I am able to use factor() to set the scenario or chart order successfully with regular plots. However, the diff plots default to alphabetical order, and when I attempt to use factor() to set the order explicitly, I get the following error: