{% extends "base.html" %} {% block body %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %}
{% endfor %} {% endif %} {% endwith %} {% if dataset_id %}
Link for this dataset: {{ request.base_url }}
{% endif %} {% if task_id %}

Progress generating dataset exports

{% if task_id %}

Tasks

{% endif %}

{% endif %}

Dataset parameters

Source datasets

{% for dataset in source_datasets %}
{% endfor %}

Tweet text

For a retweet or quote, tweet text includes the text of the source tweet.

Text must contain all of these terms (AND). Comma separate multiple terms. Space separated words are treated as a phrase.

Text must contain one of these terms (OR). Comma separate multiple terms. Space separated words are treated as a phrase.

Text may not contain (NOT). Comma separate multiple terms. Space separated words are treated as a phrase.

Hashtags

Text must contain one of these hashtags (OR). # is optional. Case insensitive.

Mentions

Any of these screen names must be mentioned (OR). @ is optional. Case sensitive.

Posted by

Tweet posted by any of these screen names (OR). @ is optional. Case sensitive.

Also retweets or quotes of these screen names.

Tweet posted by any of these user ids (OR).

Also retweets or quotes of these user ids.

In reply to

Tweets in reply to these screen names (OR). @ is optional. Case sensitive.

Tweet in reply to these user ids (OR).

Tweet types

Created at

Created at date is greater than or equal to.{% if created_at_min %} First tweet in limited dataset is {{ created_at_min.strftime('%Y-%m-%d') }}.{% endif %}{% if dataset_created_at_min %} First tweet in source dataset(s) is {{ dataset_created_at_min.strftime('%Y-%m-%d') }}.{% endif %}

Created at date is less than or equal to.{% if created_at_max %} Last tweet in limited dataset is {{ created_at_max.strftime('%Y-%m-%d') }}.{% endif %}{% if dataset_created_at_max %} Last tweet in source dataset(s) is {{ dataset_created_at_max.strftime('%Y-%m-%d') }}.{% endif %}

Entities

Tweet must contain a URL that starts with one of these URL fragments (OR). For example, "https://twitter.com/" will match "https://twitter.com/justin_littman". Case insensitive.

Other

Tweet has a value for geo, coordinates, or place.

Maximum number of tweets to include in dataset.

Actions

{% if not dataset_id %}

Get a sample of tweets in the dataset and see dataset statistics.

Freeze the dataset parameters to allow generating dataset exports.

{% else %}

Return to limiting the tweets in the dataset using the dataset parameters.

{% endif %} Start over

Return to selecting source datasets.

Dataset statistics

Tweet count

{{ total_tweets | nf }}

First tweet

{{ created_at_min }}

Last tweet

{{ created_at_max }}

Tweet type

    {% for tweet_type in tweet_types %}
  • {{ tweet_type.doc_count | nf }} ({{ '{:.0%}'.format(tweet_type.doc_count / total_tweets) }}) {{ tweet_type.key }}
  • {% endfor %}

Top users

    {% for user in top_users %}
  • {{ user.doc_count | nf }} @{{ user.key }}
  • {% endfor %}

Top mentions

    {% for user in top_mentions %}
  • {{ user.doc_count | nf }} @{{ user.key }}
  • {% endfor %}

Top hashtags

    {% for hashtag in top_hashtags %}
  • {{ hashtag.doc_count | nf }} #{{ hashtag.key }}
  • {% endfor %}

Top URLs

    {% for url in top_urls %}
  • {{ url.doc_count | nf }} {{ url.key }}
  • {% endfor %}

Actions

{% if not dataset_id %}

Freeze the dataset parameters to allow generating dataset exports.

{% endif %} Start over

Return to selecting source datasets.

Sample tweets from dataset

{% if sample_tweet_html %} {% for tweet_html in sample_tweet_html %} {{ tweet_html | safe }} {% endfor %} {% elif sample_tweet_ids %} {% endif %}

Actions

{% if not dataset_id %}

Freeze the dataset parameters to allow generating dataset exports.

{% endif %} Start over

Return to selecting source datasets.

Source datasets

{% for dataset in source_datasets %}
{% include 'source_dataset_snippet.html' %}
{% endfor %}
{% if dataset_id %}

Generate Export Actions

{% if is_local_mode %}
{% endif %}
{% if filenames_list %}

Tip: See the public link(s) on the Source datasources tab for citing these dataset(s).

{% endif %} {% for label, filenames in filenames_list %}

{{ label }}

{% endfor %}
{% endif %}
{% endblock %}