Skip to content

chrismatix/free-iea-data

Repository files navigation

Open all IEA data to research

Netlify Status

This is the source code repository for the campaign website: https://free-iea-data.com

Inspired by this excellent analysis: https://ourworldindata.org/iea-open-data

Getting Started

This is a Next.js project bootstrapped with create-next-app.

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Adding locale data

Locale data is hosted on a Google sheet to allow for easy collaboration. Running node getData.js updates the list of allowed locales to locales.json.

For private Google sheets:

  1. Provision a Google service account
  2. Add the service account's email as a collaborator to the sheet
  3. Either provide the service account as a ./service-account.json file or as a stringified SERVICE_ACCOUNT environment variable
  4. Provide the SHEET_ID as an environment variable

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

About

Crowd campaign website asking the IEA to drop the paywalls for their climate and energy data.

Topics

Resources

License

Stars

Watchers

Forks