RとWebサービス
の編集
http://www.okadajp.org/RWiki/?R%E3%81%A8Web%E3%82%B5%E3%83%BC%E3%83%93%E3%82%B9
[
トップ
] [
編集
|
差分
|
バックアップ
|
添付
|
リロード
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
-- 雛形とするページ --
(no template pages)
/// 2003.12.26 追記(岡田) COLOR(red){SIZE(30){RとWebサービス}} #contents ---- *[[RSOAP:http://sourceforge.net/projects/rsoap/]] [#zbd1a8f7] **RSOAP とは [#y511081f] 元々はZopeで利用するR用のSOAPインターフェースあったが、SOAP をサポートするアプリであれば利用できる。。PythonとRとのインターフェースである [[Rpy:http://rpy.sourceforge.net/]] と、PythonでSOAPサービスを提供する[[SOAPpy:http://pywebsvcs.sourceforge.net/]] を併用することで、RをSOAPから利用できるようにしている。 ** インストール [#i246b8fd] *** 必要なソフトウェア [#q2d8240a] 以下は RSOAP 1.1.4 の場合 - プログラム: --Python 2.1.3 or 2.2.1 [[http://www.python.org]] --R 1.6.1 以降 - Python ライブラリ: --rpy 0.3.1 以降 [[http://rpy.sourceforge.net/]] --pyXML 0.8.2 以降 [[http://pyXML.sourceforge.net/]] --SOAPpy 0.9.9-pre2 以降 [[http://pywebsvcs.sf.net]] - R ライブラリ --session 1.0 以降 [[http://cran.r-project.org/src/contrib/PACKAGES.html#session]] *** インストール [#qba5e1ee] -Windows -Linux *** 実行 [#l3cdef7c] -サーバ -クライアント ** 利用方法 [#y3951833] RSOAPは、「サーバマネージャ」サービスと「サーバプロセス」サービスの2種類からなり、まず「サーバマネージャ」サービスに接続し、そのnewServerメソッドを呼んで「サーバプロセス」サービスのURLを得る。その後「サーバプロセス」サービスに接続し、主にcall, evalメソッドを用いて解析を実行する。 ** 利用例 [#e0536108] ***MacOS X のAppleScriptから呼んだ例 [#ja9bcbc9] -- サーバマネージャサービスのURLがlocalhost:9081のとき tell application "http://localhost:9081/" set returnValue to call soap {method name:"newServer", ¬ method namespace uri:"", parameters:"", SOAPAction:""} end tell -- 上の呼び出しで、たとえば"http://localhost:9087"が返ってきたとき tell application "http://localhost:9087/" set returnValue to call soap {method name:"call", ¬ method namespace uri:"", parameters:{|String|:"rnorm", |aNumber|:10}, SOAPAction:""} end tell ***WSDLの書き方例 [#w8646b25] eval, downloadFileだけが使えるサンプル(「サーバプロセス」サービス) <?xml version="1.0"?> <definitions name="RSOAP" targetNamespace="urn:RSOAP" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:rsoap="urn:RSOAP" xmlns="http://schemas.xmlsoap.org/wsdl/" > <types> <xsd:complexType name="downloadFileResponseType"> <xsd:all> <xsd:element name="flag" type="xsd:int"/> <xsd:element name="data" type="xsd:string"/> </xsd:all> </xsd:complexType> </types> <message name="downloadFileRequest"> <part name="name" type="xsd:string"/> </message> <message name="downloadFileResponse"> <part name="response" type="rsoap:downloadFileResponseType"/> </message> <message name="evalRequest"> <part name="string" type="xsd:string"/> </message> <message name="evalResponse"> <part name="value" type="xsd:string"/> </message> <portType name="RSOAPProcess"> <operation name="eval"> <input message="rsoap:evalRequest"/> <output message="rsoap:evalResponse"/> </operation> <operation name="downloadFile"> <input message="rsoap:downloadFileRequest"/> <output message="rsoap:downloadFileResponse"/> </operation> <service name="RSOAPProcessService"> <documentation>RSOAP Process API Service</documentation> <port name="RSOAPProcessPort" binding="rsoap:RSOAPProcessSoapBinding"> <soap:address location="http://localhost:9083"/> </port> </service> <binding name="RSOAPProcessSoapBinding" type="rsoap:RSOAPProcess"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="eval"> <soap:operation soapAction="" style="rpc"/> <input> <soap:body use="literal" /> </input> <output> <soap:body use="literal" /> </output> </operation> <operation name="downloadFile"> <soap:operation soapAction="" style="rpc"/> <input> <soap:body use="literal" /> </input> <output> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RSOAP" use="encoded"/> /> </output> </operation> </binding> </definitions> ***WebObjectsから呼んでみる [#a4211a57] (工事中) ** 注意事項 [#x458b8eb] RSOAPは比較的古いSOAP実装であるSOAPpyを使っているため、SOAPメッセージの出力時にXML schemaのバージョンが1999となっている。したがって配列型を返す場合にその型が2001バージョンのanyTypeではなく, ur-typeとなっているので、新しいSOAPクライアント(apache axis, .NETなど)から接続する場合にそのままでは配列型のデータを交換できない。 ただし、SOAPpyをちょっと改造してur-typeと出力しているところをanyTypeに単純置換するだけでも実用上はわりと問題なかったりする。 **利用例 [#s47d8e46] データマイニングソフト[[Spotfire:http://www.spotfire.co.jp/3_pr/ds_new8-1-1.html]]((CIA 関連会社が設立に関与。Google が SketchUp に次いで買収を狙っているという話もある。))でRのクラスタリング機能の呼び出しなどに利用されている。[[事例1:http://www.spotfire.co.jp/cgi-bin/user_instance_detail.cgi?id=20]]。[[事例2:http://www.spotfire.co.jp/cgi-bin/user_instance_detail.cgi?id=21]]。[[事例3:http://www.spotfire.co.jp/5_sm/pdf/seminar0403/japanRexternal.pdf]]。 **関連リンク [#q3014bd8] -[[RSOAP for RStat(R):http://random-technologies-llc.com/products/rsoap]] 商用版? -[[SSOAP:http://www.omegahat.org/SSOAP/]] -[[tutorial:http://www.pyzine.com/Issue005/Section_Articles/article_RSOAP.html]] -[[統計処理ソフトRとWOのSOAPを使った連携:http://www.okada.jp.org/WOWiki/index.php?plugin=attach&openfile=RandWO.pdf&refer=WOMeeting200406]] 岡田先生の活用例 -[[Using R/Apache as the Statistical Engine for Web Applications:http://biostat.mc.vanderbilt.edu/RApacheProject:www.r-project.org/user-2006/Slides/Horner.pdf ]] [[R/Apache:http://biostat.mc.vanderbilt.edu/RApacheProject]]を利用 -[[R as a Web Service Introduction:www.r-project.org/useR-2006/Slides/WoodEtAl.pdf]] -[[RWebServices - Expose R functions as web services through Java/Axis/Apache:http://bioconductor.org/packages/2.1/bioc/html/RWebServices.html]] --Windows のバイナリなし --[[Biocep-R]]で利用 -[[webbioc - Bioconductor Web Interface:http://bioconductor.org/packages/2.1/bioc/html/webbioc.html]] -[[The R.rsp package - R Server Pages:http://www1.maths.lth.se/help/R/R.rsp/]] --[[R.rsp(R サーバページ)パッケージ中のオブジェクト一覧]] -[[Embedding R within the Apache Web Server: What’s the Use?:http://biostat.mc.vanderbilt.edu/twiki/pub/Main/RApacheProject/paper.pdf]] -[[ Creation of a Semi-Variogram using RSOAP and Python:http://jesus-loves-grass.blogspot.com/2007/08/creation-of-semi-variogram-using-rsoap.html]] with GRASS GIS -[[RWebServices:http://www.bioconductor.org/packages/2.3/bioc/html/RWebServices.html]] Expose R functions as web services through Java/Axis/Apache -[[Approaches to R as web and analytic service:http://www.bioconductor.org/packages/2.3/bioc/vignettes/RWebServices/inst/doc/RelatedWork.pdf]] **Rterm や [[Rscript]]との併用例。Rscript は不等号や ^ がそのまま利用できる。 [#y250f161] -Simple linear regression with PHP [[Part1:http://www.ibm.com/developerworks/web/library/wa-linphp/]], [[Part 2:http://www.ibm.com/developerworks/web/library/wa-linphp2/]] PHP より、"shell_exec" 関数より、R を呼び出している。~は現在ダウンロードできない。 **プログラム例(Rscript [#e9ca9284] $RPath = 'C:\\R\\R-2.9.1\\bin\\Rscript.exe'; // Your R path here $dbfPathName = "/temp/test.dbf"; $cmd = $RPath." -e \"library(foreign);d=read.dbf('$dbfPathName');mean(d['POP'])\""; $res = shell_exec($cmd);//R の実行 echo explode(" ", $res);//行番号を取る **プログラム例(Rterm) [#d2731855] $RPath = 'C:\\R\\R-2.9.1\\bin\\Rterm.exe'; // Your R path here $dbfPathName = "/temp/test.dbf"; $cmd = "echo library(foreign);d=read.dbf('$dbfPathName');mean(d['POP'])| $RPath --slave"; $res = shell_exec($cmd);//R の実行。injectgion 対策が要る。 echo explode(" ", $res);//行番号を取る **PHP [#k6adcc35] [[R_PHP:http://steve-chen.net/download_area/r]] -Rパスやパーミッションの設定だけでは使えない(Ubuntuでテスト) -コマンドは R CMD BATCH ではアウトプットを吐いてくれなかったので R --vanillaとすれば吐いてくれた -$r_code = POST['r_code'] としてTEXTAREAを取得する必要がある またこのままだとクオーテーションがバックスラッシュつきなので -strreplace("\\", "", $r_code) **[[Rserve:http://www.rforge.net/Rserve/index.html]] の次期バージョンに簡単な PHP クライアントが付属する予定 [#w3523e45] *Python [#y6238932] -[[rpy2とsoaplibでつくるRのウェブサービス:http://blog.kzfmix.com/entry/1239423933]] *JSON [#r7e85887] -rjson: R 用 JSON ベクトルとリストのみサポート [[rjson( R 用 JSON)パッケージ中のオブジェクト一覧]] -[[RJSONIO:http://cran.okada.jp.org/web/packages/RJSONIO/]] rjson より高速だそうだ。[[Win32 バイナリ版:http://www.omegahat.org/R/bin/windows/contrib/2.9/RJSONIO_0.2-3.zip]]。 **GeoJSON [#v42b98ad] 地理空間データ用JSON -rgdal *Google [#t1123935] **Google Docs [#xb3c58e2] -[[RGoogleDocs:http://www.omegahat.org/RGoogleDocs/]] [#p0a994f7] GoogleDocs のリスト、ダウンロード、アップロード、削除ができる。~ RCurl と XML パッケージを利用。 -[[How to Run R-Scripts Directly Out of Google Docs Without Use of Special Packages (RGoogleDocs, etc.):http://thebiobucket.blogspot.com/2011/11/how-to-run-r-scripts-directly-out-of.html]] **Google Trends [#zbc45cf1] -[[RGoogleTrends:http://www.omegahat.org/RGoogleTrends/]] Google Trend データに、プログラムでアクセスできる [#k2ba05ae] **Google Maps [#c6c41bad] -[[RGoogleMaps]] Google Maps [#xb4f0a5b] -[[R2GoogleMaps:http://www.omegahat.org/R2GoogleMaps/]] Google Maps を利用して、R のグラフィックスデバイスで表示 [#c808ae08] -[[A Practical Guide to Geostatistical Mapping:http://spatial-analyst.net/book/getStaticGoogleMaps.R]] static Google Maps を SpatialGridDataFrame に変換。p.103-105 に解説あり。[[元記事:https://stat.ethz.ch/pipermail/r-sig-geo/2010-January/007410.html]]。 -plotGoogleMaps: Plot HTML output with Google Maps API and your own data -[[Calling Google Maps API from R:http://www.r-bloggers.com/calling-google-maps-api-from-r/]] 日本語の地名が扱えない -[[Producing Google Map Embeds with R Package googleVis:http://www.r-bloggers.com/producing-google-map-embeds-with-r-package-googlevis/]] -[[googleVis 0.2.13: new stepped area chart and improved geo charts:http://www.r-bloggers.com/googlevis-0-2-13-new-stepped-area-chart-and-improved-geo-charts/]] -[[googleVis 0.2.15 is released: Improved geo and bubble charts:http://www.r-bloggers.com/googlevis-0-2-15-is-released-improved-geo-and-bubble-charts/]] -ggmap: A package for spatial visualization with Google Maps and OpenStreetMap **Google Earth [#md8f0416] -[[RKML:http://www.omegahat.org/RKML/]] GE/KML の作成。時空間データに対応。 [#icb43ca2] **Google Chart Tools [#n9c1249b] -googleVis パッケージ@CRAN --[[Using R to Map with Google Chart Tools:http://spatialanalysis.co.uk/2011/02/12/using-r-to-map-with-google-chart-tools/]] **Google Visualization API [#n3de8233] - googleVis: Using the Google Visualisation API with R --[[google-motion-charts-with-r:http://code.google.com/p/google-motion-charts-with-r/wiki/GadgetExamples]] --[[google-motion-charts-with-r:http://code.google.com/p/google-motion-charts-with-r/]] FLASH での出力。old version? --[[Including googleVis output into a blogger post:http://www.r-bloggers.com/including-googlevis-output-into-a-blogger-post/]] iframe プラグインが組み込まれた Wiki でないと利用できない? --[[Using the Google Visualisation API with R:http://journal.r-project.org/archive/2011-2/RJournal_2011-2_Gesmann+de~Castillo.pdf]] --[[Google Visualization API:http://rbresearch.wordpress.com/2012/06/30/fun-with-the-googlevis-package-for-r/]] --[[Interactive web graphs with R – Overview and googleVis tutorial:http://dl.dropbox.com/u/7586336/RSS2012/googleVis_at_RSS_2012.html#(1)]] -g.brownian.motion 関数 in animation パッケージ・・・ ブラウン運動| **Google Spreadsheets [#sf75b210] - [[Accessing Google Spreadsheets from R:http://rspatialtips.org.uk/2011/01/14/accessing-google-spreadsheets-from-r/]] -[[Spatiotemporal analysis of rural-urban land conversion:http://www.r-statistics.com/2010/03/google-spreadsheets-google-forms-r-easily-collecting-and-importing-data-for-analysis/]] -[[Using Google Spreadsheets as a Database Source for R:http://www.r-bloggers.com/using-google-spreadsheets-as-a-database-source-for-r/]] -[[Google Spreadsheets API: Listing Individual Spreadsheet Sheets in R:http://www.r-bloggers.com/google-spreadsheets-api-listing-individual-spreadsheet-sheets-in-r/]] **Google Fusion Tables [#i9079f7c] -[[R Interface:http://andrei.lopatenko.com/rstat/fusion-tables.R]] --[[上位のサイト:http://code.google.com/intl/ja/apis/fusiontables/docs/sample_code.html]] -[[R interface to Google Fusion Tables:http://groups.google.com/group/fusion-tables-users-group/browse_thread/thread/550c2d2c3e1f1901]] **Google JSON [#se6395ca] =gooJSON **BigQuery [#w5e2158d] -googlebigquery パッケージ **Google Prediction API [#m3686206] -[[ r-google-prediction-api-v12:http://code.google.com/p/r-google-prediction-api-v12/]] rjson, RCURL **Google Scholar [#e73c9515] -[[Google-Scholar-Search-Wordcloud:https://docs.google.com/document/d/17Myk0ez4n3EmcxRa5g6rzezirP0SPlzQaLs52yJ1I9o/edit?pli=1]] -[[R-Function GScholarScraper – Try it!!:http://www.r-bloggers.com/r-function-gscholarscraper-try-it/]] **Google Weather API [#sd78b857] -[[RWeather:https://r-forge.r-project.org/projects/rweather/]] **Google Analytics [#ec92a3bd] -[[Using R and the Google Analytics API:http://randyzwitch.com/r-google-analytics-api/]] *Twitter [#u4e3272b] **twitteR: R ベースの Twitter クライアント [#f5cc097c] Twitter API を利用 -[[twitteR サンプル]] -[[第5回 インターリュード: TwitterとR:http://www.atmarkit.co.jp/fcoding/articles/stat/05/stat05b.html]] -[[Text Data Mining With Twitter And R:http://heuristically.wordpress.com/2011/04/08/text-data-mining-twitter-r/]] -[[An R function to map your Twitter Followers:http://www.r-bloggers.com/an-r-function-to-map-your-twitter-followers/]] -[[Social Media Interest Maps of Newsnight and BBCQT Twitterers:http://www.r-bloggers.com/social-media-interest-maps-of-newsnight-and-bbcqt-twitterers/]] -[[Visualising Twitter User Timeline Activity in R:http://www.r-bloggers.com/visualising-twitter-user-timeline-activity-in-r/]] -[[How to track Twitter unfollowers in R:http://www.investuotojas.eu/2012/07/18/how-to-track-twitter-unfollowers-in-r/]] -[[Plotting the Frequency of Twitter Hashtag Usage Over Time with R and ggplot2:http://gettinggeneticsdone.blogspot.jp/2012/07/plotting-frequency-of-twitter-hashtag.html]] -[[Twitter analysis of air pollution in Beijing:http://brainchronicle.blogspot.jp/2012/07/twitter-analysis-of-air-pollution-in.html]] **短縮URLのデコード [#c21e1952] -[[https://github.com/tonybreyal/Blog-Reference-Functions/blob/master/R/decode_shortened_url/decode_shortened_url.R]] --[[Unshorten any URL with R:http://www.r-bloggers.com/unshorten-any-url-with-r/]] *[[RWebServices:http://www.bioconductor.org/packages/devel/bioc/html/RWebServices.html]]:Expose R functions as web services through Java/Axis/Apache [#na8968d4] *SSSR: Server Side Scripting with R [#y814beb8] *Amazon [#n6928229] **[[RAmazonS3:http://www.omegahat.org/RAmazonS3/]] S3 アマゾンストレッジサーバー用インターフェース [#b8e65c14] **[[RAmazonDBREST:http://www.omegahat.org/RAmazonDBREST/]] Amazon's Simple DB API 用 REST インターフェース [#b8469071] *Flickr [#ffa5aae4] **[[Rflickr:http://www.omegahat.org/Rflickr/]] R より 113 個の API 関数の呼び出し可能。 [#ze189023] *New York Times [#x2d194c0] **[[RNYTimes:http://www.omegahat.org/RNYTimes/]] New York Times ウェブサービスの内のいくつかのもの(記事の検索、メタデータ、ユーザ作成コンテンツ、ベストセラーリスト)へのインターフェースを提供。 [#t242fc42] *Last.fm [#wa4425eb] [[RLastFM: R interface to last.fm API:http://cran.r-project.org/web/packages/RLastFM/index.html]] last.fm API インターフェース *Zillow 不動産情報 [#v05f3389] *GIS 関連 [#z0a0a8a1] **Geo API [#ze0ffc37] -[[Getting data from the Infochimps Geo API in R:http://www.r-bloggers.com/getting-data-from-the-infochimps-geo-api-in-r/]] **地名 [#e9c97eef] -[[geonames:http://r-forge.r-project.org/projects/geonames/]] JSON [#ubc1aa99] *RCurl [#a37f9d4c] [[REST サービスのサンプルコード:http://github.com/hadley/crantastic/blob/cran-indexing/curr.R]] *nytR: Provides access to the NY Times API [#m87a84ce] 現状はアメリカ議会情報のデータ *世界銀行 [#w0c902db] -[[Accessing and plotting World Bank data with R:http://www.r-bloggers.com/accessing-and-plotting-world-bank-data-with-r/]] RJSONIO, googlevis *参考リンク [#g655fcd2] **[[他言語からR利用(インチキ版)]] awk からの利用方法 [#i1c60bd2] *[[R で GeoWeb]] [#yff52168] *Wolfram|Alpha API. [#g32ecd1d] *Facebook [#u95a22f8] -[[Visualizing Facebook Friends: Eye Candy in R:http://paulbutler.org/archives/visualizing-facebook-friends/]] R + MS Paint + イェーガーマイスター??? --[[R Chart featured in Facebook IPO:http://www.r-bloggers.com/r-chart-featured-in-facebook-ipo/]] --[[R graphic used for Facebook IPO:http://www.r-bloggers.com/r-graphic-used-for-facebook-ipo/]] --[[Graphics *and* Statistics: The Facebook Map:http://www.r-bloggers.com/graphics-and-statistics-the-facebook-map/]] --[[Facebook’s Social Network Graph:http://www.r-bloggers.com/facebooks-social-network-graph/]] -[[Mining Facebook Data: Most "Liked" Status and Friendship Network:http://www.r-bloggers.com/mining-facebook-data-most-liked-status-and-friendship-network/]] -[[Crawling facebook with R:http://romainfrancois.blog.free.fr/index.php?post/2012/01/15/Crawling-facebook-with-R]] **Facebook Graph API [#pc2e4f45] -[[Facebook Graph API Explorer with R:http://www.r-bloggers.com/facebook-graph-api-explorer-with-r/]] *Sensor Observation Services (SOS) [#a06c9e14] -sos4R *[[Soil Web:http://casoilresource.lawr.ucdavis.edu/drupal/node/902]] [#c552101f] -[[Automated OSD Lookup and Display via SoilWeb and AQP:http://casoilresource.lawr.ucdavis.edu/drupal/node/980]] R を使った利用例 *Yahoo! [#s0c1e882] **Yahoo! JAPANが提供するテキスト解析Web API [#q7b23175] -[[RでYahoo!の日本語解析APIを使うパッケージを作ってみました:http://d.hatena.ne.jp/yokkuns/20110321/1300708022]] -[[RMeCab以外のテキスト解析]] *GeoRSS [#u707af96] -[[例:https://stat.ethz.ch/pipermail/r-sig-geo/2011-May/011658.html]] XML + rgdal を利用 *Foursquare [#wd4a10f8] -[[A Request for Foursquare Data:http://www.r-bloggers.com/a-request-for-foursquare-data/]] plr, XML -[[R and Foursquare's recommendation engine:http://blog.revolutionanalytics.com/2012/05/r-and-foursquares-recommendation-engine.html]] ggplot2 *東京電力 [#yc35a045] -[[R: 東京電力の電力使用状況グラフ (2011年7月版):http://ito-hi.blog.so-net.ne.jp/2011-07-01]] *[[RとWeb API:http://www.slideshare.net/yokkuns/rweb-api]] [#y585f0e9] *Groupon [#nbc3c0be] -[[What $480M of Gross Revenue Looks Like to Groupon:http://paulbutler.org/archives/what-480m-of-gross-revenue-looks-like-to-groupon/]] 2D-bin-packing was implemented in R and C++ *Bing [#v9e92551] **Bing Maps [#h88bc288] -DeducerSpatial *[[Weather API:http://www.wunderground.com/weather/api/d/documentation.html]] [#ufc51d47] -[[Getting Historical Weather Data in R and SAP HANA:http://allthingsr.blogspot.jp/2012/04/getting-historical-weather-data-in-r.html]] *Dropbox [#y41d7f3c] -[[Source R-Script from Dropbox:http://thebiobucket.blogspot.jp/2012/05/source-r-script-from-dropbox.html]] -[[Get a path to your Dropbox folder:http://applyr.blogspot.jp/2012/08/get-path-to-your-dropbox-folder.html]] -[[Download Files from Dropbox Programmatically with R:http://thebiobucket.blogspot.jp/2013/04/download-files-from-dropbox.html]] -[[Dropbox & R Data:http://christophergandrud.blogspot.jp/2013/04/dropbox-r-data.html]] -[[Running R Scripts Directly From Dropbox:http://www.econometricsbysimulation.com/2013/06/running-r-scripts-directly-from-dropbox.html]] *[[Capitol Words API:http://capitolwords.org/api/]] [#k443314a] -[[The grade level of Congress speeches, analyzed with R:http://blog.revolutionanalytics.com/2012/05/the-grade-level-of-congress-speeches-analyzed-with-r.html]] *[[Global Biodiversity Information Facility:http://www.programmableweb.com/api/global-biodiversity-information-facility]] [#c70deaf3] -[[rgbif: Interface to the Global Biodiversity Information Facility API methods:http://cran.md.tsukuba.ac.jp/web/packages/rgbif/]] *[[SMS analysis (coming from an Android smartphone or an IPhone):http://tuxette.nathalievilla.org/?p=758&lang=en]] ウェブサービスではないが参考まで [#m05ce32b] * [[次世代統計利用システム:http://statdb.nstac.go.jp]] [#c1bba578] -govStatJPN: functions to get public survey data in Japan
タイムスタンプを変更しない
/// 2003.12.26 追記(岡田) COLOR(red){SIZE(30){RとWebサービス}} #contents ---- *[[RSOAP:http://sourceforge.net/projects/rsoap/]] [#zbd1a8f7] **RSOAP とは [#y511081f] 元々はZopeで利用するR用のSOAPインターフェースあったが、SOAP をサポートするアプリであれば利用できる。。PythonとRとのインターフェースである [[Rpy:http://rpy.sourceforge.net/]] と、PythonでSOAPサービスを提供する[[SOAPpy:http://pywebsvcs.sourceforge.net/]] を併用することで、RをSOAPから利用できるようにしている。 ** インストール [#i246b8fd] *** 必要なソフトウェア [#q2d8240a] 以下は RSOAP 1.1.4 の場合 - プログラム: --Python 2.1.3 or 2.2.1 [[http://www.python.org]] --R 1.6.1 以降 - Python ライブラリ: --rpy 0.3.1 以降 [[http://rpy.sourceforge.net/]] --pyXML 0.8.2 以降 [[http://pyXML.sourceforge.net/]] --SOAPpy 0.9.9-pre2 以降 [[http://pywebsvcs.sf.net]] - R ライブラリ --session 1.0 以降 [[http://cran.r-project.org/src/contrib/PACKAGES.html#session]] *** インストール [#qba5e1ee] -Windows -Linux *** 実行 [#l3cdef7c] -サーバ -クライアント ** 利用方法 [#y3951833] RSOAPは、「サーバマネージャ」サービスと「サーバプロセス」サービスの2種類からなり、まず「サーバマネージャ」サービスに接続し、そのnewServerメソッドを呼んで「サーバプロセス」サービスのURLを得る。その後「サーバプロセス」サービスに接続し、主にcall, evalメソッドを用いて解析を実行する。 ** 利用例 [#e0536108] ***MacOS X のAppleScriptから呼んだ例 [#ja9bcbc9] -- サーバマネージャサービスのURLがlocalhost:9081のとき tell application "http://localhost:9081/" set returnValue to call soap {method name:"newServer", ¬ method namespace uri:"", parameters:"", SOAPAction:""} end tell -- 上の呼び出しで、たとえば"http://localhost:9087"が返ってきたとき tell application "http://localhost:9087/" set returnValue to call soap {method name:"call", ¬ method namespace uri:"", parameters:{|String|:"rnorm", |aNumber|:10}, SOAPAction:""} end tell ***WSDLの書き方例 [#w8646b25] eval, downloadFileだけが使えるサンプル(「サーバプロセス」サービス) <?xml version="1.0"?> <definitions name="RSOAP" targetNamespace="urn:RSOAP" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:rsoap="urn:RSOAP" xmlns="http://schemas.xmlsoap.org/wsdl/" > <types> <xsd:complexType name="downloadFileResponseType"> <xsd:all> <xsd:element name="flag" type="xsd:int"/> <xsd:element name="data" type="xsd:string"/> </xsd:all> </xsd:complexType> </types> <message name="downloadFileRequest"> <part name="name" type="xsd:string"/> </message> <message name="downloadFileResponse"> <part name="response" type="rsoap:downloadFileResponseType"/> </message> <message name="evalRequest"> <part name="string" type="xsd:string"/> </message> <message name="evalResponse"> <part name="value" type="xsd:string"/> </message> <portType name="RSOAPProcess"> <operation name="eval"> <input message="rsoap:evalRequest"/> <output message="rsoap:evalResponse"/> </operation> <operation name="downloadFile"> <input message="rsoap:downloadFileRequest"/> <output message="rsoap:downloadFileResponse"/> </operation> <service name="RSOAPProcessService"> <documentation>RSOAP Process API Service</documentation> <port name="RSOAPProcessPort" binding="rsoap:RSOAPProcessSoapBinding"> <soap:address location="http://localhost:9083"/> </port> </service> <binding name="RSOAPProcessSoapBinding" type="rsoap:RSOAPProcess"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="eval"> <soap:operation soapAction="" style="rpc"/> <input> <soap:body use="literal" /> </input> <output> <soap:body use="literal" /> </output> </operation> <operation name="downloadFile"> <soap:operation soapAction="" style="rpc"/> <input> <soap:body use="literal" /> </input> <output> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:RSOAP" use="encoded"/> /> </output> </operation> </binding> </definitions> ***WebObjectsから呼んでみる [#a4211a57] (工事中) ** 注意事項 [#x458b8eb] RSOAPは比較的古いSOAP実装であるSOAPpyを使っているため、SOAPメッセージの出力時にXML schemaのバージョンが1999となっている。したがって配列型を返す場合にその型が2001バージョンのanyTypeではなく, ur-typeとなっているので、新しいSOAPクライアント(apache axis, .NETなど)から接続する場合にそのままでは配列型のデータを交換できない。 ただし、SOAPpyをちょっと改造してur-typeと出力しているところをanyTypeに単純置換するだけでも実用上はわりと問題なかったりする。 **利用例 [#s47d8e46] データマイニングソフト[[Spotfire:http://www.spotfire.co.jp/3_pr/ds_new8-1-1.html]]((CIA 関連会社が設立に関与。Google が SketchUp に次いで買収を狙っているという話もある。))でRのクラスタリング機能の呼び出しなどに利用されている。[[事例1:http://www.spotfire.co.jp/cgi-bin/user_instance_detail.cgi?id=20]]。[[事例2:http://www.spotfire.co.jp/cgi-bin/user_instance_detail.cgi?id=21]]。[[事例3:http://www.spotfire.co.jp/5_sm/pdf/seminar0403/japanRexternal.pdf]]。 **関連リンク [#q3014bd8] -[[RSOAP for RStat(R):http://random-technologies-llc.com/products/rsoap]] 商用版? -[[SSOAP:http://www.omegahat.org/SSOAP/]] -[[tutorial:http://www.pyzine.com/Issue005/Section_Articles/article_RSOAP.html]] -[[統計処理ソフトRとWOのSOAPを使った連携:http://www.okada.jp.org/WOWiki/index.php?plugin=attach&openfile=RandWO.pdf&refer=WOMeeting200406]] 岡田先生の活用例 -[[Using R/Apache as the Statistical Engine for Web Applications:http://biostat.mc.vanderbilt.edu/RApacheProject:www.r-project.org/user-2006/Slides/Horner.pdf ]] [[R/Apache:http://biostat.mc.vanderbilt.edu/RApacheProject]]を利用 -[[R as a Web Service Introduction:www.r-project.org/useR-2006/Slides/WoodEtAl.pdf]] -[[RWebServices - Expose R functions as web services through Java/Axis/Apache:http://bioconductor.org/packages/2.1/bioc/html/RWebServices.html]] --Windows のバイナリなし --[[Biocep-R]]で利用 -[[webbioc - Bioconductor Web Interface:http://bioconductor.org/packages/2.1/bioc/html/webbioc.html]] -[[The R.rsp package - R Server Pages:http://www1.maths.lth.se/help/R/R.rsp/]] --[[R.rsp(R サーバページ)パッケージ中のオブジェクト一覧]] -[[Embedding R within the Apache Web Server: What’s the Use?:http://biostat.mc.vanderbilt.edu/twiki/pub/Main/RApacheProject/paper.pdf]] -[[ Creation of a Semi-Variogram using RSOAP and Python:http://jesus-loves-grass.blogspot.com/2007/08/creation-of-semi-variogram-using-rsoap.html]] with GRASS GIS -[[RWebServices:http://www.bioconductor.org/packages/2.3/bioc/html/RWebServices.html]] Expose R functions as web services through Java/Axis/Apache -[[Approaches to R as web and analytic service:http://www.bioconductor.org/packages/2.3/bioc/vignettes/RWebServices/inst/doc/RelatedWork.pdf]] **Rterm や [[Rscript]]との併用例。Rscript は不等号や ^ がそのまま利用できる。 [#y250f161] -Simple linear regression with PHP [[Part1:http://www.ibm.com/developerworks/web/library/wa-linphp/]], [[Part 2:http://www.ibm.com/developerworks/web/library/wa-linphp2/]] PHP より、"shell_exec" 関数より、R を呼び出している。~は現在ダウンロードできない。 **プログラム例(Rscript [#e9ca9284] $RPath = 'C:\\R\\R-2.9.1\\bin\\Rscript.exe'; // Your R path here $dbfPathName = "/temp/test.dbf"; $cmd = $RPath." -e \"library(foreign);d=read.dbf('$dbfPathName');mean(d['POP'])\""; $res = shell_exec($cmd);//R の実行 echo explode(" ", $res);//行番号を取る **プログラム例(Rterm) [#d2731855] $RPath = 'C:\\R\\R-2.9.1\\bin\\Rterm.exe'; // Your R path here $dbfPathName = "/temp/test.dbf"; $cmd = "echo library(foreign);d=read.dbf('$dbfPathName');mean(d['POP'])| $RPath --slave"; $res = shell_exec($cmd);//R の実行。injectgion 対策が要る。 echo explode(" ", $res);//行番号を取る **PHP [#k6adcc35] [[R_PHP:http://steve-chen.net/download_area/r]] -Rパスやパーミッションの設定だけでは使えない(Ubuntuでテスト) -コマンドは R CMD BATCH ではアウトプットを吐いてくれなかったので R --vanillaとすれば吐いてくれた -$r_code = POST['r_code'] としてTEXTAREAを取得する必要がある またこのままだとクオーテーションがバックスラッシュつきなので -strreplace("\\", "", $r_code) **[[Rserve:http://www.rforge.net/Rserve/index.html]] の次期バージョンに簡単な PHP クライアントが付属する予定 [#w3523e45] *Python [#y6238932] -[[rpy2とsoaplibでつくるRのウェブサービス:http://blog.kzfmix.com/entry/1239423933]] *JSON [#r7e85887] -rjson: R 用 JSON ベクトルとリストのみサポート [[rjson( R 用 JSON)パッケージ中のオブジェクト一覧]] -[[RJSONIO:http://cran.okada.jp.org/web/packages/RJSONIO/]] rjson より高速だそうだ。[[Win32 バイナリ版:http://www.omegahat.org/R/bin/windows/contrib/2.9/RJSONIO_0.2-3.zip]]。 **GeoJSON [#v42b98ad] 地理空間データ用JSON -rgdal *Google [#t1123935] **Google Docs [#xb3c58e2] -[[RGoogleDocs:http://www.omegahat.org/RGoogleDocs/]] [#p0a994f7] GoogleDocs のリスト、ダウンロード、アップロード、削除ができる。~ RCurl と XML パッケージを利用。 -[[How to Run R-Scripts Directly Out of Google Docs Without Use of Special Packages (RGoogleDocs, etc.):http://thebiobucket.blogspot.com/2011/11/how-to-run-r-scripts-directly-out-of.html]] **Google Trends [#zbc45cf1] -[[RGoogleTrends:http://www.omegahat.org/RGoogleTrends/]] Google Trend データに、プログラムでアクセスできる [#k2ba05ae] **Google Maps [#c6c41bad] -[[RGoogleMaps]] Google Maps [#xb4f0a5b] -[[R2GoogleMaps:http://www.omegahat.org/R2GoogleMaps/]] Google Maps を利用して、R のグラフィックスデバイスで表示 [#c808ae08] -[[A Practical Guide to Geostatistical Mapping:http://spatial-analyst.net/book/getStaticGoogleMaps.R]] static Google Maps を SpatialGridDataFrame に変換。p.103-105 に解説あり。[[元記事:https://stat.ethz.ch/pipermail/r-sig-geo/2010-January/007410.html]]。 -plotGoogleMaps: Plot HTML output with Google Maps API and your own data -[[Calling Google Maps API from R:http://www.r-bloggers.com/calling-google-maps-api-from-r/]] 日本語の地名が扱えない -[[Producing Google Map Embeds with R Package googleVis:http://www.r-bloggers.com/producing-google-map-embeds-with-r-package-googlevis/]] -[[googleVis 0.2.13: new stepped area chart and improved geo charts:http://www.r-bloggers.com/googlevis-0-2-13-new-stepped-area-chart-and-improved-geo-charts/]] -[[googleVis 0.2.15 is released: Improved geo and bubble charts:http://www.r-bloggers.com/googlevis-0-2-15-is-released-improved-geo-and-bubble-charts/]] -ggmap: A package for spatial visualization with Google Maps and OpenStreetMap **Google Earth [#md8f0416] -[[RKML:http://www.omegahat.org/RKML/]] GE/KML の作成。時空間データに対応。 [#icb43ca2] **Google Chart Tools [#n9c1249b] -googleVis パッケージ@CRAN --[[Using R to Map with Google Chart Tools:http://spatialanalysis.co.uk/2011/02/12/using-r-to-map-with-google-chart-tools/]] **Google Visualization API [#n3de8233] - googleVis: Using the Google Visualisation API with R --[[google-motion-charts-with-r:http://code.google.com/p/google-motion-charts-with-r/wiki/GadgetExamples]] --[[google-motion-charts-with-r:http://code.google.com/p/google-motion-charts-with-r/]] FLASH での出力。old version? --[[Including googleVis output into a blogger post:http://www.r-bloggers.com/including-googlevis-output-into-a-blogger-post/]] iframe プラグインが組み込まれた Wiki でないと利用できない? --[[Using the Google Visualisation API with R:http://journal.r-project.org/archive/2011-2/RJournal_2011-2_Gesmann+de~Castillo.pdf]] --[[Google Visualization API:http://rbresearch.wordpress.com/2012/06/30/fun-with-the-googlevis-package-for-r/]] --[[Interactive web graphs with R – Overview and googleVis tutorial:http://dl.dropbox.com/u/7586336/RSS2012/googleVis_at_RSS_2012.html#(1)]] -g.brownian.motion 関数 in animation パッケージ・・・ ブラウン運動| **Google Spreadsheets [#sf75b210] - [[Accessing Google Spreadsheets from R:http://rspatialtips.org.uk/2011/01/14/accessing-google-spreadsheets-from-r/]] -[[Spatiotemporal analysis of rural-urban land conversion:http://www.r-statistics.com/2010/03/google-spreadsheets-google-forms-r-easily-collecting-and-importing-data-for-analysis/]] -[[Using Google Spreadsheets as a Database Source for R:http://www.r-bloggers.com/using-google-spreadsheets-as-a-database-source-for-r/]] -[[Google Spreadsheets API: Listing Individual Spreadsheet Sheets in R:http://www.r-bloggers.com/google-spreadsheets-api-listing-individual-spreadsheet-sheets-in-r/]] **Google Fusion Tables [#i9079f7c] -[[R Interface:http://andrei.lopatenko.com/rstat/fusion-tables.R]] --[[上位のサイト:http://code.google.com/intl/ja/apis/fusiontables/docs/sample_code.html]] -[[R interface to Google Fusion Tables:http://groups.google.com/group/fusion-tables-users-group/browse_thread/thread/550c2d2c3e1f1901]] **Google JSON [#se6395ca] =gooJSON **BigQuery [#w5e2158d] -googlebigquery パッケージ **Google Prediction API [#m3686206] -[[ r-google-prediction-api-v12:http://code.google.com/p/r-google-prediction-api-v12/]] rjson, RCURL **Google Scholar [#e73c9515] -[[Google-Scholar-Search-Wordcloud:https://docs.google.com/document/d/17Myk0ez4n3EmcxRa5g6rzezirP0SPlzQaLs52yJ1I9o/edit?pli=1]] -[[R-Function GScholarScraper – Try it!!:http://www.r-bloggers.com/r-function-gscholarscraper-try-it/]] **Google Weather API [#sd78b857] -[[RWeather:https://r-forge.r-project.org/projects/rweather/]] **Google Analytics [#ec92a3bd] -[[Using R and the Google Analytics API:http://randyzwitch.com/r-google-analytics-api/]] *Twitter [#u4e3272b] **twitteR: R ベースの Twitter クライアント [#f5cc097c] Twitter API を利用 -[[twitteR サンプル]] -[[第5回 インターリュード: TwitterとR:http://www.atmarkit.co.jp/fcoding/articles/stat/05/stat05b.html]] -[[Text Data Mining With Twitter And R:http://heuristically.wordpress.com/2011/04/08/text-data-mining-twitter-r/]] -[[An R function to map your Twitter Followers:http://www.r-bloggers.com/an-r-function-to-map-your-twitter-followers/]] -[[Social Media Interest Maps of Newsnight and BBCQT Twitterers:http://www.r-bloggers.com/social-media-interest-maps-of-newsnight-and-bbcqt-twitterers/]] -[[Visualising Twitter User Timeline Activity in R:http://www.r-bloggers.com/visualising-twitter-user-timeline-activity-in-r/]] -[[How to track Twitter unfollowers in R:http://www.investuotojas.eu/2012/07/18/how-to-track-twitter-unfollowers-in-r/]] -[[Plotting the Frequency of Twitter Hashtag Usage Over Time with R and ggplot2:http://gettinggeneticsdone.blogspot.jp/2012/07/plotting-frequency-of-twitter-hashtag.html]] -[[Twitter analysis of air pollution in Beijing:http://brainchronicle.blogspot.jp/2012/07/twitter-analysis-of-air-pollution-in.html]] **短縮URLのデコード [#c21e1952] -[[https://github.com/tonybreyal/Blog-Reference-Functions/blob/master/R/decode_shortened_url/decode_shortened_url.R]] --[[Unshorten any URL with R:http://www.r-bloggers.com/unshorten-any-url-with-r/]] *[[RWebServices:http://www.bioconductor.org/packages/devel/bioc/html/RWebServices.html]]:Expose R functions as web services through Java/Axis/Apache [#na8968d4] *SSSR: Server Side Scripting with R [#y814beb8] *Amazon [#n6928229] **[[RAmazonS3:http://www.omegahat.org/RAmazonS3/]] S3 アマゾンストレッジサーバー用インターフェース [#b8e65c14] **[[RAmazonDBREST:http://www.omegahat.org/RAmazonDBREST/]] Amazon's Simple DB API 用 REST インターフェース [#b8469071] *Flickr [#ffa5aae4] **[[Rflickr:http://www.omegahat.org/Rflickr/]] R より 113 個の API 関数の呼び出し可能。 [#ze189023] *New York Times [#x2d194c0] **[[RNYTimes:http://www.omegahat.org/RNYTimes/]] New York Times ウェブサービスの内のいくつかのもの(記事の検索、メタデータ、ユーザ作成コンテンツ、ベストセラーリスト)へのインターフェースを提供。 [#t242fc42] *Last.fm [#wa4425eb] [[RLastFM: R interface to last.fm API:http://cran.r-project.org/web/packages/RLastFM/index.html]] last.fm API インターフェース *Zillow 不動産情報 [#v05f3389] *GIS 関連 [#z0a0a8a1] **Geo API [#ze0ffc37] -[[Getting data from the Infochimps Geo API in R:http://www.r-bloggers.com/getting-data-from-the-infochimps-geo-api-in-r/]] **地名 [#e9c97eef] -[[geonames:http://r-forge.r-project.org/projects/geonames/]] JSON [#ubc1aa99] *RCurl [#a37f9d4c] [[REST サービスのサンプルコード:http://github.com/hadley/crantastic/blob/cran-indexing/curr.R]] *nytR: Provides access to the NY Times API [#m87a84ce] 現状はアメリカ議会情報のデータ *世界銀行 [#w0c902db] -[[Accessing and plotting World Bank data with R:http://www.r-bloggers.com/accessing-and-plotting-world-bank-data-with-r/]] RJSONIO, googlevis *参考リンク [#g655fcd2] **[[他言語からR利用(インチキ版)]] awk からの利用方法 [#i1c60bd2] *[[R で GeoWeb]] [#yff52168] *Wolfram|Alpha API. [#g32ecd1d] *Facebook [#u95a22f8] -[[Visualizing Facebook Friends: Eye Candy in R:http://paulbutler.org/archives/visualizing-facebook-friends/]] R + MS Paint + イェーガーマイスター??? --[[R Chart featured in Facebook IPO:http://www.r-bloggers.com/r-chart-featured-in-facebook-ipo/]] --[[R graphic used for Facebook IPO:http://www.r-bloggers.com/r-graphic-used-for-facebook-ipo/]] --[[Graphics *and* Statistics: The Facebook Map:http://www.r-bloggers.com/graphics-and-statistics-the-facebook-map/]] --[[Facebook’s Social Network Graph:http://www.r-bloggers.com/facebooks-social-network-graph/]] -[[Mining Facebook Data: Most "Liked" Status and Friendship Network:http://www.r-bloggers.com/mining-facebook-data-most-liked-status-and-friendship-network/]] -[[Crawling facebook with R:http://romainfrancois.blog.free.fr/index.php?post/2012/01/15/Crawling-facebook-with-R]] **Facebook Graph API [#pc2e4f45] -[[Facebook Graph API Explorer with R:http://www.r-bloggers.com/facebook-graph-api-explorer-with-r/]] *Sensor Observation Services (SOS) [#a06c9e14] -sos4R *[[Soil Web:http://casoilresource.lawr.ucdavis.edu/drupal/node/902]] [#c552101f] -[[Automated OSD Lookup and Display via SoilWeb and AQP:http://casoilresource.lawr.ucdavis.edu/drupal/node/980]] R を使った利用例 *Yahoo! [#s0c1e882] **Yahoo! JAPANが提供するテキスト解析Web API [#q7b23175] -[[RでYahoo!の日本語解析APIを使うパッケージを作ってみました:http://d.hatena.ne.jp/yokkuns/20110321/1300708022]] -[[RMeCab以外のテキスト解析]] *GeoRSS [#u707af96] -[[例:https://stat.ethz.ch/pipermail/r-sig-geo/2011-May/011658.html]] XML + rgdal を利用 *Foursquare [#wd4a10f8] -[[A Request for Foursquare Data:http://www.r-bloggers.com/a-request-for-foursquare-data/]] plr, XML -[[R and Foursquare's recommendation engine:http://blog.revolutionanalytics.com/2012/05/r-and-foursquares-recommendation-engine.html]] ggplot2 *東京電力 [#yc35a045] -[[R: 東京電力の電力使用状況グラフ (2011年7月版):http://ito-hi.blog.so-net.ne.jp/2011-07-01]] *[[RとWeb API:http://www.slideshare.net/yokkuns/rweb-api]] [#y585f0e9] *Groupon [#nbc3c0be] -[[What $480M of Gross Revenue Looks Like to Groupon:http://paulbutler.org/archives/what-480m-of-gross-revenue-looks-like-to-groupon/]] 2D-bin-packing was implemented in R and C++ *Bing [#v9e92551] **Bing Maps [#h88bc288] -DeducerSpatial *[[Weather API:http://www.wunderground.com/weather/api/d/documentation.html]] [#ufc51d47] -[[Getting Historical Weather Data in R and SAP HANA:http://allthingsr.blogspot.jp/2012/04/getting-historical-weather-data-in-r.html]] *Dropbox [#y41d7f3c] -[[Source R-Script from Dropbox:http://thebiobucket.blogspot.jp/2012/05/source-r-script-from-dropbox.html]] -[[Get a path to your Dropbox folder:http://applyr.blogspot.jp/2012/08/get-path-to-your-dropbox-folder.html]] -[[Download Files from Dropbox Programmatically with R:http://thebiobucket.blogspot.jp/2013/04/download-files-from-dropbox.html]] -[[Dropbox & R Data:http://christophergandrud.blogspot.jp/2013/04/dropbox-r-data.html]] -[[Running R Scripts Directly From Dropbox:http://www.econometricsbysimulation.com/2013/06/running-r-scripts-directly-from-dropbox.html]] *[[Capitol Words API:http://capitolwords.org/api/]] [#k443314a] -[[The grade level of Congress speeches, analyzed with R:http://blog.revolutionanalytics.com/2012/05/the-grade-level-of-congress-speeches-analyzed-with-r.html]] *[[Global Biodiversity Information Facility:http://www.programmableweb.com/api/global-biodiversity-information-facility]] [#c70deaf3] -[[rgbif: Interface to the Global Biodiversity Information Facility API methods:http://cran.md.tsukuba.ac.jp/web/packages/rgbif/]] *[[SMS analysis (coming from an Android smartphone or an IPhone):http://tuxette.nathalievilla.org/?p=758&lang=en]] ウェブサービスではないが参考まで [#m05ce32b] * [[次世代統計利用システム:http://statdb.nstac.go.jp]] [#c1bba578] -govStatJPN: functions to get public survey data in Japan
テキスト整形のルールを表示する