このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
maxx
/
geologist
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
プルリクエスト
0
リリース
0
Wiki
アクティビティ
ソースを参照
Added comments about sqlite db creation
master
Maxime Wack
6年前
親
9f7104f195
コミット
414c20489b
1個のファイルの変更
、
4行の追加
、
0行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+4
-0
geoip.R
+ 4
- 0
geoip.R
ファイルの表示
@@ -1,6 +1,10 @@
library(tidyverse)
library(RSQLite)
library(ipapi)
# sqlite3 access.db
# create table access(ip, null1, user, timestamp, zone, req, status, size, referer, agent, null2);
# .separator " "
# .import access.log access
dbConnect(SQLite(), "access.db") %>%
dbGetQuery("delete from access where ip = '192.168.0.254' or user = 'maxx' or agent like '%bot%' or ip = '164.2.255.244';")
書き込み
プレビュー
読み込み中…
キャンセル
保存