Comments (4)
ありがとうございますm(_ _)m
from covid19-japan-web-api.
ドキュメントの作成は未定ですが、元データ(https://github.com/swsoyee/2019-ncov-japan/blob/master/50_Data/MHLW/summary.csv) のカラム名とAPIのキー名は以下のような対応になっております。
https://github.com/ryo-ma/covid19-japan-web-api/blob/master/src/script/create_prefectures.py
prefectures.append({'id': int(prefecture_df['id']),
'name_ja': prefecture,
'name_en': prefecture_df['name-en'],
'lat': float(prefecture_df['lat']),
'lng': float(prefecture_df['lng']),
'population': int(prefecture_df['pop']),
'last_updated': last_updated,
'cases': int(summary['陽性者']),
'deaths': int(summary['死亡者']),
'pcr': int(summary['検査人数']),
'hospitalize': int(summary['入院中']),
'severe': int(summary['重症者']),
'discharge': int(summary['退院者']),
'symptom_confirming': int(summary['確認中']),
})
元データでも日本語訳されていないカラム名の
lat,lngはlatitude、longitudeの略で緯度経度、
populationは人口のハズです。
last_updatedはそれぞれのデータの最終更新日を記載しています。
カラム名に関してさらに詳しく知りたい場合は元データの作者(https://github.com/swsoyee/2019-ncov-japan) に確認するのがいいと思います。
from covid19-japan-web-api.
ありがとうございます。
このアドレスからのキーは日本語訳が見つからないのですが、元データの作者様に問い合わせたほうが良いでしょうか?
from covid19-japan-web-api.
そのデータは以下のURLが元データとなっております。キー名は並び順に対応してます。
https://github.com/swsoyee/2019-ncov-japan/blob/master/50_Data/positiveDetail.csv
code', 'announcement_date', 'src', 'prefecture', 'residence_prefecture', 'age', 'gender', 'attribute', 'prefecture_number','travel_or_contact', 'detail', 'id', 'diagnosis_date', 'onset', 'symptom', 'death_or_discharge_date', 'comment', 'outcome', 'outcome_src'
コード,発表日,ソース,都道府県,居住地,年齢,性別,属性,県内No.,渡航・接触歴,詳細(渡航先、接触者、関与クラスター),ID,確定診断日(作業途中),発症日,"症状(0:無症状,1:軽症・中等症,2:重症(ICU、人工呼吸器),3:検>査時無症状)",死亡/退院日,コメント,"転帰(1:退院,2:死亡)",転帰ソース
ただ、positivesの元データの更新が8ヶ月前から止まっておりますのでご注意ください。
from covid19-japan-web-api.
Related Issues (20)
- Update README for filtered positives api by prefecture
- Add statistics api of positives
- Add prediction api for positives in Japan
- Add percentage field to statistics api
- Deprecate to get all Positives API records
- Create a .nowignore
- Support to include the FLIGHT data and the SHIPMENT data in the Total API
- Add Japanese README
- Add officer total to Total API
- Data Sourcesから取得できていない HOT 3
- 検査数もあると嬉しいです HOT 3
- Total History APIのdeathが実際と乖離している HOT 2
- There are some errors in the dataset HOT 4
- API Updata HOT 6
- Metadata update HOT 4
- Positives API returns 500 Internal Server Error
- Query prefecture with history HOT 1
- No updates to total endpoint since 20220717
- Website Error (Likely API requests not getting triggered)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from covid19-japan-web-api.