Giter VIP home page Giter VIP logo

datagovindia's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

datagovindia's Issues

Optimize repo cloning

Hi, thanks for publishing the library. I wanted to contribute to this repo, however, cloning takes an absurd amount of time on a general internet connection, making it impractical to clone without using --depth. I think this will only get worse as more "Automatic Meta-Update" commits are added to the repo. Github also doesn't recommend such usage.

So, I was wondering, if we can can stop committing this data directly to the repo, and instead, provide a simple script to download it from a source (govt site or github releases or custom CDN) on individual machines.

Also, I think it'd be best to hard reset this repo to 33ab07a, so that it becomes easy to clone and contribute.

git reset --hard 33ab07ab65583c76f11c684aab3213152099acf1
git push --force

I am not able to apply a date filter

I know the date filter can be applied on OGD API. can you show one example. I have been trying it multiple times for APMC mandi data. Please help me out

Thanks in advance

Regards,
Sangamesh KS

Dataframe.append has been removed for pandas 2.0

Dataframe.append has been removed for pandas 2.0 and gives an error. Previous versions also give warnings:

FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead. self.data = self.data.append(df, ignore_index=True)

Can this be updated?

Import issue: concurrency

DataGovIndia("API-KEY")

Step (1/2) : API key is VALID
You don't need to enter it again
Traceback (most recent call last):PI meta-data. This may take a few seconds........
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/datagovindia/init.py", line 531, in init
self.assets = util.git_assets()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/datagovindia/util.py", line 91, in init
asset_data = fetch_assets_from_github(asset_url_seq)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/datagovindia/util.py", line 17, in fetch_assets_from_github
with concurrent.futures.ThreadPoolExecutor() as executor:
AttributeError: module 'concurrent' has no attribute 'futures'

Python version is 3.9.4
OS: MacOS

Stuck on "Latest API meta-data loaded! You may begin."

The script gets stuck on the step when I try to initialize using DataGovIndia(API_KEY) on second step, "Latest API meta-data loaded! You may begin."
image

from datagovindia import DataGovIndia
import streamlit as st

@st.cache(suppress_st_warning=True)
def getDataGovAdaptor(): 
    return DataGovIndia(API_KEY)

datagovin = getDataGovAdaptor()
result = datagovin.search(description="Wheat",max_results=1,print_results=True)

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.