Hello,
I have this data about commuting to the kindergartens. ZUJ is the ID of the town/village. Rok = year, DETI = number of children in the specific town/village, MS_kapacita = number of places in the kindergartens in this specific town/village. I have also ZUJs of the towns/villages that can be reached by car within 10 minutes (min10_1, min10_2, ...) and I need to create variables with the number of children in these near towns/villages (DETI_min10_1, DETI_min10_2,...) and also number of places in the kindergartens in these near towns/villages (MS_kapacita_min10_1, MS_kapacita_min10_2, ...).
Variable ZUJ contains all the towns/villages. So, basically I need to find the value of the "min10_1" in ZUJ column and assign information from this row to the row where the value of "min10_1" is.
I hope that I described the problem understandably. Sorry that the naming of variables is not in English.
Thank you very much in advance for your advise!
I have this data about commuting to the kindergartens. ZUJ is the ID of the town/village. Rok = year, DETI = number of children in the specific town/village, MS_kapacita = number of places in the kindergartens in this specific town/village. I have also ZUJs of the towns/villages that can be reached by car within 10 minutes (min10_1, min10_2, ...) and I need to create variables with the number of children in these near towns/villages (DETI_min10_1, DETI_min10_2,...) and also number of places in the kindergartens in these near towns/villages (MS_kapacita_min10_1, MS_kapacita_min10_2, ...).
Variable ZUJ contains all the towns/villages. So, basically I need to find the value of the "min10_1" in ZUJ column and assign information from this row to the row where the value of "min10_1" is.
I hope that I described the problem understandably. Sorry that the naming of variables is not in English.
Thank you very much in advance for your advise!
Comment