オープンデータとプログラミング

オープン政府グループはノースカロライナ州のトラフィックをすべて停止にデータをコンパイルします。|Open Government Group Compiles Data on All Traffic Stops in North Carolina

オープンデータ関連のニュースです。

http://www.govtech.com/public-safety/Open-Government-Group-Compiles-Data-on-All-Traffic-Stops-in-North-Carolina.html

日本語

(TNS) – 非営利の人権組織-ホワイトハウスからのサポート-ホームページを立ち上げ、木曜日に過去 15 年間にすべての警察およびノースカロライナ州のすべての警察官によって作られたほぼ 2000 万トラフィックを停止に関する最新の情報が含まれます。 南部連合社会正義のためには、ダーラムの木曜日の朝を起動します。ウェブサイト、アメリカ合衆国で初めて警察トラフィックを停止、車両検索力-2000 年以来のレースとエスニシティ-によって分解の使用の公共の記録に頼る。 新しいウェブサイトは政府の透明性に大きな革命の一部は、UNC チャペルの丘政治学教授フランク ・ バウムガルトナー言った。
続きを読む…

English

(TNS) — A nonprofit civil rights organization – with support from the White House – will launch a website Thursday that will contain up-to-date information about nearly 20 million traffic stops made by every police department and every police officer in North Carolina over the past 15 years. The Southern Coalition for Social Justice will launch Thursday morning in Durham. The website, the first of its kind in the United States, will rely on public records on police traffic stops, vehicle searches and use of force – broken down by race and ethnicity – since 2000. The new website is part of a larger revolution in government transparency, said UNC-Chapel Hill political science professor Frank Baumgartner.
Read more…

サイト新しいノースカロライナ トラフィックを停止を分析する方法を提供しています|Site offers new way to analyze North Carolina traffic stops

オープンデータ関連のニュースです。

http://www.wect.com/story/30779259/site-offers-new-way-to-analyze-north-carolina-traffic-stops

日本語

ノース ・ カロライナ州のトラフィックを分析する方法新しいサイト提供停止投稿日: 更新: ダーラム、ノースカロライナ州 (AP) – 最近発売されたウェブサイトを提供しています状態の住民約 15 年分のノース ・ カロライナ州交通停止データでレースの役割を分析するための新しいツール。 オープン データ ポリシング NC のサイトでは、ほぼ 2000 万トラフィックが停止上のデータを提供しています。グラフ、グラフやテーブルに表示される情報を法執行機関、上のデータをすぐに呼び出すことができます。 打ち上げは役員とその他警察の留置場で人が死亡によって致命的な銃撃事件後全国警察の戦術の高められた精査の時に来る。
続きを読む…

English

Site offers new way to analyze North Carolina traffic stops Posted: Updated: DURHAM, N.C. (AP) – A recently launched website offers state residents a new tool for analyzing the role of race in about 15 years’ worth of North Carolina traffic stop data. The Open Data Policing NC site offers data on nearly 20 million traffic stops. It allows a user to quickly call up data on law enforcement agencies, with the information presented in graphs, charts and tables. The launch comes at a time of heightened scrutiny of police tactics around the country after fatal shootings by officers and other deaths in police custody.
Read more…

XML 初期 2016 年に来てビルの状態議会は言う|Bill statuses in XML coming in early 2016, says Congress

オープンデータ関連のニュースです。

http://www.fiercegovernmentit.com/story/bill-statuses-xml-coming-early-2016-says-congress/2015-12-17

日本語

12 月 15 日会議中に議会のリーダーシップと立法府の機関以降機械可読形式で 113 の議会からの手形のステータス情報を公開するための確固たるコミットメントを作った。 超党派の裏付け、政府出版局、議会図書館、家と GPO の連邦政府のデジタル システム一括データ リポジトリを介して拡張可能なマークアップ言語、または使用可能な XML の状態をここでは、法案を上院計画長官の書記官。 技術会議今週中にデータ グループ、議員と会った 10 代のサンプルに法案ステータス XML ファイルを確認する他の人と先週、GitHub ページ上の GPO によって使用できるように下書きユーザー ガイドを開きます。
続きを読む…

English

During a meeting Dec. 15, congressional leadership and legislative branch agencies made a firm commitment to publishing the status information of bills from the 113th Congress onward in a machine-readable format. With bipartisan backing, the Government Publishing Office, Library of Congress, Clerk of the House and Secretary of the Senate plan to make bill statuses in eXtensible Markup Language, or XML, available here, through the GPO’s Federal Digital System Bulk Data repository. During the technical meeting this week, open data groups, legislators and others met to review bill status XML files on a sample of 10 bills and a draft user guide made available by the GPO on its GitHub page last week.
Read more…

警察活動に光を当てるに オープン データ サイト|Open data website to shine light on police activity

オープンデータ関連のニュースです。

http://www.heraldsun.com/news/open-data-website-to-shine-light-on-police-activity/article_337bc12c-a504-11e5-a8c6-932c9211487a.html

日本語

通知が保存されています。 通知を保存中に問題があった。 ケイティ Nix の記事新しいコンテンツをときに、リンクをあなたの受信トレイに配信される電子メールを取得します。 電子メール通知が送信された日に 1 回だけ、新しいがある場合にのみ一致する項目。
続きを読む…

English

Your notification has been saved. There was a problem saving your notification. Whenever Katie Nix posts new content, you’ll get an email delivered to your inbox with a link. Email notifications are only sent once a day, and only if there are new matching items.
Read more…

シビック ハイテク今週: インディ アナポリス PD が力の使用データ、マシンラーニング飛躍 を開きます|This Week in Civic Tech: Indianapolis PD Opens Use-of-Force Data, Machine Learning Leaps

オープンデータ関連のニュースです。

http://www.govtech.com/computing/This-Week-in-Civic-Tech-Indianapolis-PD-Opens-Use-of-Force-Data-Machine-Learning-Leaps-Forward.html

日本語

シビック ハイテク今週政府サービスに市民を接続する空間で注目すべきイベントのラインナップが表示されます。トピックは、最新のベンチャー企業、なって、オープン データの取り組みおよび他の影響力を説明します。毎週更新をチェックします。 法律の施行は、透明性と激動の関係を持ち続けている: 2015 年に役員数殺人事件や当番の銃乱射事件の殺人罪で起訴、母ジョーンズの記事によると、3 倍以上はします。おそらく最も注目すべきは、周辺のシカゴの 17 歳 Laquan マクドナルドの死と脊髄の傷害からのボルティモアの警察の車で亡くなったフレディ灰色の力の使用調査進行中の論争が。
続きを読む…

English

This Week in Civic Tech presents a line up of notable events in the space that connects citizens to government services. Topics cover latest startups, hackathons, open data initiatives and other influencers. Check back each week for updates. Law enforcement continues to have a tumultuous relationship with transparency: In 2015, the number of officers charged with murder or manslaughter for on-duty shootings and has more than tripled, according to an article in Mother Jones. Perhaps most notable are the ongoing controversies surrounding the death of 17-year-old Laquan McDonald in Chicago and the use-of-force investigation of Freddie Gray, who died in a police car in Baltimore from a spinal cord injury.
Read more…

台湾 オープン データ インデックス 2015年の上部に英国に置き換えられます|Taiwan replaces UK at top of Open Data Index 2015

オープンデータ関連のニュースです。

https://joinup.ec.europa.eu/community/opengov/news/taiwan-replaces-uk-top-open-data-index-2015

日本語

世界で開いているデータセットの割合は、最後グローバル オープン データ インデックス、2015 年オープンな知識の基礎によって作成されたによると、2015 年に 2014 to9% に 12% から落ちた。 一方、インデックスは、いくつかの改善を示しています「まだない、制限がないが、市民、市民社会、ジャーナリスト、企業に使用するアクセス可能な形式で重要な情報を提供しているほとんどの政府の遅い進行状況のまま」、述べた調査。 ただしより多くの国が考慮 (122 2014 年に 97 と比較して) 取られ、分析データセットの数はより高い (最大 10 から 2015 年に 13) 2015年インデックスの賛否両論は、インデックスの範囲の増加に関連しています。この範囲は、公共の相談の結果です。
続きを読む…

English

The percentage of open datasets in the world fell from 12% in 2014 to9 % in 2015, according to the last Global Open Data Index 2015, created by the Open Knowledge Foundation. While the index shows some improvements, “progress remains slow for most governments, who are still not providing key information in an accessible format to be used, without restriction, by their citizens, civil societies, journalists and businesses”, the survey stated. However, the mixed reviews in this 2015 index are related to an increase in the scope of the index, as more countries are taken into account (122 compared to 97 in 2014) and the number of analysed datasets is higher (up from 10 to 13 in 2015). This broadened scope is the result of a public consultation.
Read more…

Pythonで”TypeError: argument of type ‘int’ is not iterable”が出てしまったときのチェックポイント

python

こんにちはPythonをいじっていて、以下のようなエラーに出てしまうことはありませんか?


”TypeError: argument of type ‘int’ is not iterable”

iterableといわれてもさっぱりですが、Python Japanのサイトに説明がありますので見てみましょう。

iterable
(反復可能オブジェクト) 要素を一つずつ返せるオブジェクトです。

反復可能オブジェクトの例には、(list, str, tuple といった) 全てのシーケンス型や、 dict や file といった幾つかの非シーケンス型、あるいは __iter__() か __getitem__() メソッドを実装したクラスのインスタンスが含まれます。

反復可能オブジェクトは for ループ内やその他多くのシーケンス (訳注: ここでのシーケンスとは、シーケンス型ではなくただの列という意味)が必要となる状況 (zip(), map(), …) で利用できます。

反復可能オブジェクトを組み込み関数 iter() の引数として渡すと、オブジェクトに対するイテレータを返します。このイテレータは一連の値を引き渡す際に便利です。反復可能オブジェクトを使う際には、通常 iter() を呼んだり、イテレータオブジェクトを自分で扱う必要はありません。 for 文ではこの操作を自動的に行い、無名の変数を作成してループの間イテレータを記憶します。

ここまで読んでお分かりだと思いますが、要するにintは反復可能オブジェクトではないということです。

具体的な例をみてみましょう。

よくはまる例としては、ある文字(列)が文字列中に含まれるか判定するときに使う、演算子”in”があります。

>>> "1" in "1234"
True
>>>

これはOKですが、ダブルクォーテーションを外すとNGです。

>>> 1 in 1234
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: argument of type 'int' is not iterable

このように直接、数値が記述されている場合は一目瞭然ですが、実際のプログラムでは変数で書かれている場合がほとんどです。
変数で記述されている場合は一見してわからない場合も多いのではないでしょうか。






Pythonでディープラーニングを学ぶならこの本がおすすめ(アマゾンで購入)

Pythonでディープラーニングを学ぶならこの本がおすすめ(楽天で購入)

財務データへのアクセスを提供するために市|City to provide access to finance data

オープンデータ関連のニュースです。

http://www.reflector.com/news/city-provide-access-finance-data-3084305

日本語

透明性を高める努力、グリーンビル市では、金融データをスタッフと居住者をよりアクセシブルにするソフトウェアの毎年 9000 ドルを費やします。 データのダッシュ ボード プロジェクトを開くまたは OpenGov ダッシュ ボードは、対話型のレポート モジュールのプラットフォームです。 2 月、市の情報技術部門がシティ マネージャー バーバラ リプスコムによって研究を分析し、「オープンで透明な方法。」で従業員や市民と市財務データを共有するためのプログラムの開発と実施を指示された 完全な記事のための毎日の反射器のコピーを選択してください。現在の宅配と電子版購読者は無償でこの記事にアクセスするログインできます。
続きを読む…

English

In an effort to increase transparency, the City of Greenville will spend $9,000 annually on software to make its financial data more accessible to staff and residents. The Open Data Dashboards Project, or the OpenGov Dashboard, is a platform of interactive reporting modules. In February, the city’s Information Technology Department was directed by City Manager Barbara Lipscomb to research development and implementation of a program to analyze and share city finance data with employees and citizens “in an open and transparent way.” For the complete article, please pick up a copy of The Daily Reflector. Current home delivery and electronic edition subscribers may log in to access this article at no charge.
Read more…

データ駆動型医療: はインドが、まだですか。|Data-Driven Healthcare: Is India There Yet?

オープンデータ関連のニュースです。

http://www.cxotoday.com/story/data-driven-healthcare-is-india-ready-for-watson-like-technologies/

日本語

危険にさらされて、ゲームを 2 人の人間を倒した後 IBM の有名な認知コンピューティング システム ワトソンは今医療の進歩で人間を支援します。 腫瘍学のためのワトソンのデビュー インド マニパル病院と最近。メモリアル ・ スローン ・ ケタリングがんセンター (MSK) データを分析するために訓練を受けたこの認知コンピューティング ・ プラットフォームに役立ちます専門医オーダーメイド治療を提供します。しかし、ワトソンのような技術は、多くの病院はまだ持っていない電子健康記録 (EHR) と病院情報システム (HIS)、インドで成功するでしょうか。一部の専門家は、インドになりますが、そんなに早くないと思います。 「問題は分析、データベース自体ではなく。
続きを読む…

English

After defeating two humans in Jeopardy, a game show, IBM’s famed cognitive computing system Watson is now assisting humans in improving healthcare. Watson for Oncology made its India debut with Manipal Hospitals recently. This cognitive computing platform trained by Memorial Sloan-Kettering Cancer Center (MSK) to analyze data helps oncologists provide tailor-made treatments. But will Watson-like technologies be successful in India, where many hospitals still don’t have electronic health records (EHR) and hospital information systems (HIS)? Some experts believe India will be there, but not so soon. “The problem is not in analytics, but in the database itself.
Read more…

FiscalNote 外出先で立法戦略のモバイル アプリをリリース|FiscalNote Releases Mobile App for Legislative Strategy on the Go

オープンデータ関連のニュースです。

http://www.benzinga.com/pressreleases/15/12/p6052044/fiscalnote-releases-mobile-app-for-legislative-strategy-on-the-go

日本語

リアルタイムの法的分析プロバイダーは、すべての 50 州、DC と議会 FiscalNote、リアルタイムの立法のプロバイダーから立法および規制データを集計し、規制の追跡、分析、およびワークフローのプラットフォームは、今日そのモバイル アプリケーションのリリースを発表しました。FiscalNote モバイルは、追跡し、分析し、全米 50 州、d. c. と彼らのモバイル機器から直接議会法案に積極的に行動する能力を持つ政府事務の専門家を提供します。 「お客様が外出先で、常に状態の首都の国または単に通勤、同僚とのミーティングや彼らビジネス影響を与える政策課題に取り組んで同伴かどうか”桃オング、FiscalNote で製品の頭は言った。
続きを読む…

English

Real-time legal analytics provider aggregates legislative and regulatory data from all 50 states, D.C. and Congress FiscalNote, provider of a real-time legislative and regulatory tracking, analytics and workflow platform today announced the release of its mobile application. FiscalNote Mobile provides government affairs professionals with the ability to track, analyze and proactively act on legislation across all 50 states, D.C. and Congress directly from their mobile devices. “Our clients are always on the go, whether they are traveling to state capitals across the country or simply commuting, meeting with colleagues and working on policy issues affecting their business,” said Momo Ong, head of product at FiscalNote.
Read more…