Giter Site home page Giter Site logo

Comments (4)

Nageshbansal avatar Nageshbansal commented on July 24, 2024

At line 171, we're iterating over package_name, so I added a check if the given parameter package_name is a string, then we will convert it into a list, and if package_name is a list or a tuple, we don't need to correct them.

         print(f"List of all available Rdatasets in packages: {package_name}")
 ->     if type(package_name) == str:
 ->         package_name = list(package_name.split(' '))  
         for package in package_name:
Input :  
       package_name = 'aer'
output: 
List of all available Rdatasets in packages: aer
Package: aer              Dataset: affairs                   Script Name: rdataset-aer-affairs
.....
Input :  
       package_name = ['aer']
output: 
List of all available Rdatasets in packages: ['aer']
Package: aer              Dataset: affairs                   Script Name: rdataset-aer-affairs
.....
Input :  
       package_name = ('aer')
output: 
List of all available Rdatasets in packages: aer
Package: aer              Dataset: affairs                   Script Name: rdataset-aer-affairs
.....

from retriever.

pyther-hub avatar pyther-hub commented on July 24, 2024

can I work on this?

from retriever.

henrykironde avatar henrykironde commented on July 24, 2024

@pyther-hub there is a PR on that, 1664. You can test it and add some improvements where you feel fit.

from retriever.

pyther-hub avatar pyther-hub commented on July 24, 2024

sir I saw the commit and made some simple changes to it and added the functionality, if there is any changes you want me to do I will work to it @henrykironde

from retriever.

Related Issues (20)

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.