MovieSpider (version 1.0)

Douban: Obtain movie data from Douban website(movie.douban.com)

Description

With this function, users can obtain the real-time movie data from Douban. The type of data returned depends on the value of argument 'type'.

Usage

Douban(type = "top")

Arguments

type

The type of movie data. Available options includes "latest" and "top" for the data of the latest popular movies in China and data of 25 top rated movies respectively.

Value

A dataframe including the movies'names,release time as well as their rating_scores (if type="top",the dataframe would also include the total number of people who rated).

Examples

Run this code
# NOT RUN {
Douban()
Douban('latest')
Douban('top')
# }

Run the code above in your browser using DataLab