Coder Social home page Coder Social logo

jpy-datareader's People

Contributors

passaglia avatar well-living avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jpy-datareader's Issues

バグ修正のリリースについて

#15 のバグに当たり困っているのですが、リリースバージョンに含まれていないだけで、すでにmainブランチでは修正済みであることが分かりました。
修正版リリースの予定はありますでしょうか?

e-StatAPIで統計表情報取得におけるエラー

【概要】
GithubのREADME.mdに記載の

import jpy_datareader as jdr

api_key = "Your_Application_ID"
statslist = jdr.get_data_estat_statslist(api_key)

を実行すると、以下のエラーが出力される。

File ~/.pyenv/versions/3.10.4/envs/jquants/lib/python3.10/site-packages/jpy_datareader/estat.py:230, in StatsListReader._read_one_data(self, url, params)
    228 if "PARAMETER" in out["GET_STATS_LIST"].keys():
    229     if "LANG" in out["GET_STATS_LIST"]["PARAMETER"].keys():
--> 230         self.LANG = out["GET_STATS_LIST"]["RESULT"]["LANG"]
    231     if "DATA_FORMAT" in out["GET_STATS_LIST"]["PARAMETER"].keys():
    232         self.DATA_FORMAT = out["GET_STATS_LIST"]["RESULT"]["DATA_FORMAT"]

KeyError: 'LANG'

【原因】
エラー文の矢印箇所の右辺における、out["GET_STATS_LIST"]["RESULT"]"LANG"のkeyがないことが原因と考えられる。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.