Giter Site home page Giter Site logo

renren's Introduction

Renren
这是一个用于抓取人人网网站数据并做一些分析的R包
几百年没更新了,原谅我吧
======
zip包下载地址:http://vdisk.weibo.com/s/xAbIy

目前主要的函数有:
f_renren_login      登录
f_renren_sns        好友关系网络的可视化

具体使用可以参考帮助文档  

下面是demo:
require(Renren)

# 0、登录
ch0 <- f_renren_login('myemail', 'mypwd')
# 模拟登录失效的时候,可以尝试用cookie文件登录
# 其中的cookie文件可以通过Firefox的Firebug插件获得
ch0 <- f_renren_login(cookie_file='C:/Users/ASUS/Desktop/cookies.txt')

# 1、好友关系网络的可视化
# 运行完成后,会在工作路径下生成renren_mysns_时间.png文件
renren_sns <- f_renren_sns(cH=ch0, topk=3)
head(renren_sns$sns_df)

renren's People

Contributors

yibochen avatar

Watchers

James Cloos avatar hxc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.