catalyst-cooperative / pudl

The Public Utility Data Liberation Project provides analysis-ready energy system data to climate advocates, researchers, policymakers, and journalists.
https://catalyst.coop/pudl
MIT License
456 stars 106 forks source link

datapkg_to_sqlite fails when bundle contains one data package #429

Closed zaneselvans closed 4 years ago

zaneselvans commented 4 years ago

In the case where a user wants to load a single data package into SQLite, the datapkg_to_sqlite script fails, complaining that there's no pudl-all datapackage. Maybe when a single datapackage is found, the flattening routine should simply copy that datapackage over to the appropriate location?

zaneselvans commented 4 years ago

Ah, wait, this may have been a path vs. package bundle name issue...