https://github.com/abicky/osakar4_abicky
Codes for Osaka.R #4 presentation by a_bicky
https://github.com/abicky/osakar4_abicky
Last synced: about 1 year ago
JSON representation
Codes for Osaka.R #4 presentation by a_bicky
- Host: GitHub
- URL: https://github.com/abicky/osakar4_abicky
- Owner: abicky
- Created: 2010-12-04T02:46:42.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-12-05T06:21:38.000Z (over 15 years ago)
- Last Synced: 2025-04-12T06:37:57.227Z (about 1 year ago)
- Language: R
- Homepage:
- Size: 121 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Codes for Osaka.R #4 presentation by a_bicky
+----------------+
| Included files |
+----------------+
File name License Description
win/ files for Windows
unix/ files for Mac or Linux
init.R Free Initialization file in which twitter account, access token, and so on are written.
You have to change these values.
twilog1.R Free plot graphs like twilog stats without functions
twilog2.R Free plot graphs like twilog stats using functions
twilogFuncs.R Free functions for twilog2.R
clustering.R Free cluster your twitter friends
twitter.R MIT functions to get data via OAuth authentication
json.R LGPL part of twitteR package
OAuth.R MIT cf. https://gist.github.com/586468
README this file
+-------+
| Usage |
+-------+
0. install the dependenceis "twitteR", "ggplot2", "scrapeR", ("png", "pixmap", "ReadImages"),
download and install "RMeCab" from http://rmecab.jp/wiki/index.php?RMeCab
1. edit init.R
change values of screenName, auser, key.consumer, and secret.consumer
2. launch twilog1.R or twilog2.R to plot graphs like twilog stats
R> source("twilog1.R")
3. launch clustering.R to cluster your twitter friends
R> source("clustering.R")
+------------+
| References |
+------------+
1. http://www.slideshare.net/abicky/twitterr
2. http://www.slideshare.net/abicky/intro-6027373
----- in Japanese -------------------------------------------------------
+--------------+
| 同梱ファイル |
+--------------+
ファイル名 ライセンス 説明
win/ Windows 用ファイル
unix/ Unix 用ファイル
init.R フリー Twitterアカウントやアクセストークンなどが記述されてある初期化ファイル
これらの値を書き換えてください.
twilog1.R フリー 関数なしでtwilog statsのようなグラフをプロット
twilog2.R フリー 関数を使ってtwilog statsのようなグラフをプロット
twilogFuncs.R フリー twilog2.R用の関数
clustering.R フリー フォローさんをクラスタリング
twitter.R MIT OAuth認証経由でデータを取得するための関数
json.R LGPL twitteRパッケージの一部
OAuth.R MIT cf. https://gist.github.com/586468
README このファイル
+--------+
| 使い方 |
+--------+
0. 依存パッケージ "twitteR", "ggplot2", ("png", "pixmap", "ReadImages") をインストール
"RMeCab" を http://rmecab.jp/wiki/index.php?RMeCab からダウンロードしてインストール
1. init.R を編集
screenName, auser, key.consumer, secret.consumer の値を変更
2. twilog stats のようなグラフをプロットするには twilog1.R か twilog2.R を実行
R> source("twilog1.R")
3. フォローさんをクラスタリングするには clustering.R を実行
R> source("clustering.R")
+------+
| 参考 |
+------+
1. http://www.slideshare.net/abicky/twitterr
2. http://www.slideshare.net/abicky/intro-6027373