frictionlessdata / datapackage-py

A Python library for working with Data Packages.
https://frictionlessdata.io
MIT License
189 stars 44 forks source link

Fix typo in README.md #234

Closed afuetterer closed 5 years ago

afuetterer commented 5 years ago

If I use the code from the README

from datapackage import Package

package = Package('datapackage.json')
package.getResource('resource').read()

I get

AttributeError: 'Package' object has no attribute 'getResource'

I think it should be

package.get_resource('resource').read()
roll commented 5 years ago

Thank you!