fetch_twitter
Enriches a dataset containing tweets with information about their authors.
In addition to author information also adds the location the tweet was send from (if available), and indicates whether a tweet was retweeted or favourited at least once. See below for a detailed list of the enrichment columns.
???+ info “API integration” To use this step you will need to create an app associated to your Twitter account, and obtain four items: the consumer_key, the consumer_secret, the token and the token_secret.
To do so you can follow the steps here, and then add them to a Graphext integration.
Usage
The following example shows how the step can be used in a recipe.
This step doesn’t have any configuration parameters. Hence simply:
Inputs & Outputs
The following are the inputs expected by the step and the outputs it produces. These are generally
columns (ds.first_name
), datasets (ds
or ds[["first_name", "last_name"]]
) or models (referenced
by name e.g. "churn-clf"
).
Configuration
The following parameters can be used to configure the behaviour of the step by including them in
a json object as the last “input” to the step, i.e. step(..., {"param": "value", ...}) -> (output)
.
ID of the integration you’d like to use.
Was this page helpful?