# Exclude IP addresses outside of the US
data(qualtrics_text)
df <- exclude_ip(qualtrics_text)
# Remove preview data first
df <- qualtrics_text %>%
exclude_preview() %>%
exclude_ip()
# Exclude IP addresses outside of Germany
df <- qualtrics_text %>%
exclude_preview() %>%
exclude_ip(country = "DE")
Run the code above in your browser using DataLab