doomdagger / tweetmap2

Map your Twitter audience. Find where they live, what language they speak and engage them geographically. Share or download your results.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tweetmap2

Map your Twitter audience. Find where they live, what language they speak and engage them geographically. Share or download your results.

Elasticsearch Mapping

curl -XPUT https://<your_es_endpoint>/_template/template_1 -d '
{
    "template": "tweets-*",
    "mappings": {
        "tweet": {
            "properties": {
                "location": {
                    "type": "geo_shape",
                    "tree": "quadtree",
                    "precision": "1m"
                },
                "place_id": {
                    "type": "string"
                },
                "polarity": {
                    "type": "double"
                },
                "subjectivity": {
                    "type": "double"
                },
                "text": {
                    "type": "string"
                },
                "timestamp_ms": {
                    "type": "double"
                },
                "tweet_id": {
                    "type": "string"
                },
                "user_id": {
                    "type": "string"
                },
                "user_profile_image": {
                    "type": "string"
                },
                "username": {
                    "type": "string"
                }
            }
        }
    }
}
'

About

Map your Twitter audience. Find where they live, what language they speak and engage them geographically. Share or download your results.

License:MIT License


Languages

Language:Python 65.6%Language:HTML 34.2%Language:Shell 0.2%