Closed endarthur closed 4 years ago
Awesome! Thanks for building the bridge between R and Python. Just to maintain our package w/ the structure of an R package we will not merge the PR but will link your repo in our page. Thanks again ;)
Ok, muito obrigado! Fiquei na dúvida se escrevia em português ou inglês. Espero que a plataforma volte a funcionar em algum momento, mas vou ficar de olho e de todo caso vou reestruturar o meu fork pra ficar com mais cara de pacote python direto, mas mantendo a referência a vocês. Obrigado pela iniciativa e se cuidem!
oi arthur, estamos fazendo uma mudança na fonte, agora pegando direto dos dados compilados pelo Alvaro Justen e colaboradores aqui (https://brasil.io/dataset/covid19/caso). Eles estão trabalhando em python, veja: https://github.com/turicas/covid19-br Teremos uma nova função get_corona_br() que acessa a api deles
oi sara, obrigado pelo aviso. Vou fechar a minha fork de vocês pra evitar qualquer confusão e procurar o que eu posso colaborar com o pessoal do Brasil.io.
Hi, This is a first attempt at a python port for your package, mostly transcribing your code. It can be installed directly from github without publishing it to pypi using pip:
pip install -e "git+https://github.com/endarthur/coronabr@master#egg=covid19br&subdirectory=python"
I've made a colab showing basic usage, though it just downloads the json and gives you a pandas dataframe:
https://colab.research.google.com/drive/1FSPL_pbE2Ai-qBJsdm7HJaBVtN4FfEF0
You can also run it from command line to get CSVs, using
python -m covid19br
I still have to add docs, but it could be of use to someone in its current state. Thanks for building this.