Skip to content

hlosukwakha/elasticsearch_stackoverflow-tags

Repository files navigation

Usage

elasticsearch.py

Queries Stack Overflow API and generate a CSV stackoverflow_elasticsearch.csv that looks like this:

date;tags;question
2020-01-01 09:18:23;ruby,elasticsearch;Ruby and Elasticsearch for mapping partial search property
2020-01-01 09:54:20;elasticsearch;Accessing Text Keyword Field through a Script
2020-01-01 10:22:05;java,elasticsearch,elasticsearch-high-level-restclient;Rest High Level Client : Request timeout is not working
2020-01-01 10:58:49;elasticsearch;"Getting "Failed to build synonyms" message when trying to build synonyms filter"
2020-01-01 11:10:23;elasticsearch,elasticsearch-query;Match documents in elasticsearch with AND and OR on different fields
2020-01-01 19:52:36;python,csv,elasticsearch;How to bulk Insert in Elasticsearch ignoring all errors that may occur in the process?

Their API has a limit per day (15k rows maybe) per IP address.

aggregate.py

Takes the first CSV and reorganize the data into a new CSV tag_frequency_by_month.csv to easily make charts in Excel.

dataplots.py

Use dataplots.py to generate graphs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages