Twitter analysis in specific country


Hi, guys

I need your advice. I am going to do Twitter analysis of one specific country. So I have several questions: 1) I am trying to get tweets by location. I used this example to do so, but I had errors. It says “name places is not defined”. I checked spelling, it seems everything was ok. What I did wrong?

  1. I got tweets by keywords, but it seems its texts need encoding. (do not know specific term, sorry. consists of only integers) How can I solve this problem? Maybe Twitter cannot recognise all languages and needs a specific way?

  2. I have never done social network analysis. What is a best way to identify trends in particular country?

I have been stuck here and really need advice…