npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@digital4better/data

v1.1.55

Published

Digital4Better Open Data

Downloads

1,103

Readme

Digital4Better Open Data

This repository contains the geographic and environmental data used by Digital4Better to calculate the footprints of digital services.

This data is also used by the calculation engine of fruggr (www.fruggr.io), a service that automates the evaluation of the footprints of digital services.

Each file is produced/generated in CSV and JSON format.

Country data (country)

Geographical regions (regions.csv)

This data is used to generate administrative data and to compute distances between regions.

| Field | Description | |-------------|-----------------------------------| | name | Country name | | alpha-2 | ISO 3166-1 alpha-2 country code | | alpha-3 | ISO 3166-1 alpha-3 country code | | continent | Region continent | | subdivision | ISO 3166-2 country subdivision | | type | continent, country or subdivision | | area | Area | | lat | Latitude | | lon | Longitude |

Administrative data (countries.csv)

This data is used to map data and to distribute impact factors (see Impact factors) by continent.

| Field | Description | |-----------|---------------------------------| | name | Country name | | alpha-2 | ISO 3166-1 alpha-2 country code | | alpha-3 | ISO 3166-1 alpha-3 country code | | continent | Country continent |

Distances from country to country (country-to-country-distances)

This data can be used to determine the distance traveled by data on the network between a user and a datacenter located in different countries.

The distance is calculated between the baricenters in each country.

| Field | Description | |-------------|---------------------| | origin | Origin country | | destination | Destination country | | distance | Distance (km) |

Distances from region to region (region-to-region-distances)

This data can be used to determine the distance traveled by data on the network between a user and a datacenter located in different countries or country subdivisions.

The distance is calculated between the baricenters in each country / subdivision.

| Field | Description | |-------------|-----------------------------------| | origin | Origin country / subdivision | | destination | Destination country / subdivision | | distance | Distance (km) |

Average distance from a user to a datacenter (user-to-datacenter-distances.csv)

These data represent a rough estimate for each country of the average distance traveled by data on a network between a user and a datacenter.

| Field | Description | |----------|---------------------------------| | alpha-2 | ISO 3166-1 alpha-2 country code | | distance | Distance (km) |

Impacts of ICT equipment manufacturing (embodied)

The environmental impacts associated with the manufacture of each of these equipment categories : mobile, desktop, network mobile, network fixed, vm small, vm medium, vm large.

Environmental impact (equipment-impacts)

| Impact | Unit | Description | |---------|------------|-----------------------------------------------------------------| | ADPe | kg Sb-Eq | Abiotic Depletion Potential (Resource use, minerals and metals) | | AP | kg SO2-Eq | Acidification Power | | CTUe | CTUe | Comparative Toxic Unit (Ecotoxicity, freshwater) | | CTUh-c | CTUh | Comparative Toxic Unit (Human, cancer) | | CTUh-nc | CTUh | Comparative Toxic Unit (Human, non-cancer) | | GWP | kg CO2-Eq | Global Warming Potential (Climate change) | | IR | kg U235-Eq | Ionising Radiation (human health) | | PM | Disease | Particulate Matter emission | | WU | m3 Water | Water use |

Impacts of energy production (energy)

The environmental impacts associated with each of these energy production technologies: coal, gas, other fossil fuels, wind, solar, bioenergy, hydropower, other renewables, nuclear.

Environmental impact (energy-impacts)

| Impact | Unit | Description | |---------|------------|-----------------------------------------------------------------| | ADPe | kg Sb-Eq | Abiotic Depletion Potential (Resource use, minerals and metals) | | AP | kg SO2-Eq | Acidification Power | | CTUe | CTUe | Comparative Toxic Unit (Ecotoxicity, freshwater) | | CTUh-c | CTUh | Comparative Toxic Unit (Human, cancer) | | CTUh-nc | CTUh | Comparative Toxic Unit (Human, non-cancer) | | GWP | kg CO2-Eq | Global Warming Potential (Climate change) | | IR | kg U235-Eq | Ionising Radiation (human health) | | PM | Disease | Particulate Matter emission | | WU | m3 Water | Water use |

Source

The impact data for each electricity generation technology per kWh come from various bibliographical sources. Due to the scarcity of such data in a global scope, an extrapolation is made and these values are generalized in our model.

Source : Life cycle assessment of electricity generation options, UNECE 2021 (1) et https://www.sciencedirect.com/science/article/pii/S0196890422008159#b0530 (2)

Impact factors (factor)

These data represent the environmental impact factors of one kWh of electricity consumption (not production) in each country, continent or worldwide. The amount of energy imported by each country is taken into account to adjust these factors.

Data generation

Impact factors are determined by country according to the national energy mix, as well as the environmental impacts associated with each of energy production sources (see Environmental impacts).

Factors are generated on an annual and monthly basis starting in January 2019.

Files ending with the suffix -green contain impact factors for green energies only (bioenergy, hydro, solar and wind).

Source

Our energy mix data for all countries are taken from https://ember-climate.org/.

  • Monthly : https://ember-climate.org/data-catalogue/monthly-electricity-data/
  • Yearly : https://ember-climate.org/data-catalogue/yearly-electricity-data/