Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Drawing maps by decades of a country of a climate variable

    Hello Stata community;

    I'am working on the climate of Tunisia, a north-african country.
    I do have a variable showing the number of consecutive dry days per year per governorate (per region of that country) from the year 1990 to the year 2085 (from 2023 to 2085, it is forecasting data). Here's the data:

    Code:
    * Example generated by -dataex-. To install: ssc install dataex
    clear
    input str13 governorate float(consecutivedrydays1990 consecutivedrydays1991 consecutivedrydays1992 consecutivedrydays1993 consecutivedrydays1994 consecutivedrydays1995)
    "Ariana"       55.416  55.611  55.498  55.121  55.315  55.026
    "Beja"         52.289  52.549  52.294  51.816  51.836  51.699
    "Ben Arous"     53.46  53.731   53.59  53.108  53.457  52.948
    "Bizerte"      58.769  58.958  58.732  58.242  58.425  58.026
    "Gabes"        93.529  94.221  93.679  93.072  93.409  92.876
    "Gafsa"        68.808  69.227  68.703  68.255  68.571   68.64
    "Jendouba"     50.708  50.857  50.494  50.003  50.085  50.089
    "Kairouan"      46.65  47.102   47.06  46.675  46.904  47.266
    "Kasserine"     46.81   47.23  47.263  46.848  47.275  47.805
    "Kebili"      103.039 103.697 103.211 102.658 103.136 102.586
    "Le Kef"       44.333  44.519   44.32  43.887  44.173  44.528
    "Mahdia"       62.175  62.514   62.27  61.683  62.003  62.242
    "Manouba"      51.491  51.685   51.62  51.186  51.186  50.922
    "Medenine"    118.817 119.508 119.378 119.172 119.581 118.624
    "Monastir"     65.619  65.682  65.316  64.899  65.193  65.418
    "Nabeul"       61.922  62.221  61.896  61.439  61.519  61.077
    "Sfax"         69.883  70.491  70.025  69.448   69.74  69.727
    "Sidi Bouzid"  56.814  57.333   57.26  56.892  57.275  57.533
    "Siliana"      45.615  45.883   45.84  45.376  45.642  46.013
    "Sousse"       53.631  53.848  53.559  53.192  53.326  53.644
    "Tataouine"   132.807     134 134.187 134.466 134.631 133.672
    "Tozeur"       87.197  87.781  87.068  86.577  86.791  86.506
    "Tunis"        54.158   54.43  54.421  53.881  54.046  53.785
    "Zaghouan"     49.008  49.252  49.196  48.763  48.929  48.934
    end
    Just be aware that the data goes to 2085.

    My goal is to have some mapping using Stata and this data, I've heard about a command called "spmap", I'am a bit new to mapping using this much data and a sort of thing called "shapefile".

    I would love if I could get some help in order to have maps by decades. For each 10 years (1990, 2000, 2010, 2020, 2030, ..., 2080), I would love to have a map showing the evolution of the number of consecutive dry days per governorate. I don't know about that color option (i guess it has to be the red scheme, since it is about hot dry days), yet I would love to have that option in a way I see an evolution of the color with each decade map.

    Any help please? I would be greatful.

  • #2
    Any help with this case please?

    Comment

    Working...
    X