diff --git a/ckanext/budgets/controllers.py b/ckanext/budgets/controllers.py
index <HASH>..<HASH> 100644
--- a/ckanext/budgets/controllers.py
+++ b/ckanext/budgets/controllers.py
@@ -16,6 +16,10 @@ class BudgetDataPackageController(toolkit.BaseController):
         context = {'model': ckan.model, 'session': ckan.model.Session,
                    'user': pylons.c.user or pylons.c.author}
 
+        # Get package
+        package = toolkit.get_action('package_show')(
+            context, {'id': id})
+
         # Get resource
         resource = toolkit.get_action('resource_show')(
             context, {'id': resource_id})
@@ -53,8 +57,8 @@ class BudgetDataPackageController(toolkit.BaseController):
         # Create the budget data package
         bdpkg = BudgetDataPackage(
             name=id,
-            title=resource['name'],
-            description=resource['description'],
+            title=package['title'],
+            description=package['notes'],
             resources=[bdgt_resource]
         )
Name dataset based on package, not resource

OpenSpending now supports updates to datasets so we can update the
datasets based on the CKAN dataset and not only the CKAN resource.
This makes the dataset on OpenSpending more usable because the same
dataset will be updated when the same dataset in CKAN is updated.