so_360_trends: Get data from SO 360 (Chinese Search Engine)

Description Usage Arguments Value Examples

Description

This function scrapes 360 Trends and returns the results nicely formatted into a R object

Usage

1

Arguments

query

The keyword to be searched.

Value

The output is a dataframe containing Date and Value variables for all the queries

Examples

1
2
3
4
5
#Search the keyword 'tokyo and japan'
results = so_360_trends("洛杉矶酒店")

#Visualize results
ggplot(results, aes(x = Date, y = Value, col = Query)) + geom_line()

RossiLorenzo/trendR documentation built on May 9, 2019, 10:32 a.m.