Code Monkey home page Code Monkey logo

mmm-census's Introduction

ATTENTION! API IS NO LONGER PUBLIC. WAITING TO HEAR FROM THEM

MMM-Census

  • World Population and demographic by age and sex.

How it works

  • Rotation of age groups from less than one year old through 100 years old.
  • Male and female populations for each age group and their totals.
  • Today's World Population.
  • Tomorrow's World Population.
  • World Population growth each day.

OR

  • Choose an individual country instead of the world. See county list at bottom.

OR OR

  • Choose a year from 1950 - 2100 for past and present data or future predictions.

Example

  • Fully annotated css file so you can fully customize to your liking

, ,

Installation

  • git clone https://github.com/mykle1/MMM-Census into the ~/MagicMirror/modules directory.

  • No API key needed! No Dependencies! No kidding!

Config.js entry and options

{
    module: 'MMM-Census',
    position: 'top_left',              // Best in left, right or center regions
    config: {
	country: "World",              // See country list, bottom of README file
	popYear: "2017",               // 1950 - 2100
	useHeader: true,
	header: "World Population & Demographic",
	maxWidth: "300px",
	animationSpeed: 3000,
	rotateInterval: 1 * 60 * 1000,
    }
},

Special thanks and gratitude to SpaceCowboysDude

Countries to choose from

"Afghanistan",
"AFRICA",
"Albania",
"Algeria",
"Angola",
"Antigua and Barbuda",
"Arab Rep of Egypt",
"Argentina",
"Armenia",
"Aruba",
"ASIA",
"Australia",
"Australia/New Zealand",
"Austria",
"Azerbaijan",
"The Bahamas",
"Bahrain",
"Bangladesh",
"Barbados",
"Belarus",
"Belgium",
"Belize",
"Benin",
"Bhutan",
"Bolivia",
"Bosnia and Herzegovina",
"Botswana",
"Brazil",
"Brunei Darussalam",
"Bulgaria",
"Burkina Faso",
"Burundi",
"Cote-d-Ivoire",
"Cabo Verde",
"Cambodia",
"Cameroon",
"Canada",
"Caribbean",
"Central African Republic",
"Central America",
"Central Asia",
"Chad",
"Channel Islands",
"Chile",
"China",
"Hong Kong SAR-China",
"Macao SAR China",
"Colombia",
"Comoros",
"Congo",
"Costa Rica",
"Croatia",
"Cuba",
"Curacao",
"Cyprus",
"Czech Republic",
"Dem Peoples Rep of Korea",
"Dem Rep of Congo",
"Denmark",
"Djibouti",
"Dominican Republic",
"Eastern Africa",
"Eastern Asia",
"Eastern Europe",
"Ecuador",
"El Salvador",
"Equatorial Guinea",
"Eritrea",
"Estonia",
"Ethiopia",
"EUROPE",
"Federated States of Micronesia",
"Fiji",
"Finland",
"France",
"French Guiana",
"French Polynesia",
"FYR Macedonia",
"Gabon",
"The Gambia",
"Georgia",
"Germany",
"Ghana",
"Greece",
"Grenada",
"Guadeloupe",
"Guam",
"Guatemala",
"Guinea",
"Guinea-Bissau",
"Guyana",
"Haiti",
"Honduras",
"Hungary",
"Iceland",
"India",
"Indonesia",
"Islamic Republic of Iran",
"Iraq",
"Ireland",
"Israel",
"Italy",
"Jamaica",
"Japan",
"Jordan",
"Kazakhstan",
"Kenya",
"Kiribati",
"Kuwait",
"Kyrgyz Republic",
"Lao PDR",
"LATIN AMERICA AND THE CARIBBEAN",
"Latvia",
"Least developed countries",
"Lebanon",
"Lesotho",
"Less developed regions",
"Less developed regions, excluding China",
"Less developed regions, excluding least developed countries",
"Liberia",
"Libya",
"Lithuania",
"Luxembourg",
"Madagascar",
"Malawi",
"Malaysia",
"Maldives",
"Mali",
"Malta",
"Martinique",
"Mauritania",
"Mauritius",
"Mayotte",
"Melanesia",
"Mexico",
"Micronesia",
"Middle Africa",
"Moldova",
"Mongolia",
"Montenegro",
"More developed regions",
"Morocco",
"Mozambique",
"Myanmar",
"Namibia",
"Nepal",
"The Netherlands",
"New Caledonia",
"New Zealand",
"Nicaragua",
"Niger",
"Nigeria",
"Northern Africa",
"NORTHERN AMERICA",
"Northern Europe",
"Norway",
"OCEANIA",
"Oman",
"Other non-specified areas",
"Pakistan",
"Panama",
"Papua New Guinea",
"Paraguay",
"Peru",
"Philippines",
"Poland",
"Polynesia",
"Portugal",
"Puerto Rico",
"Qatar",
"Reunion",
"RB-de-Venezuela",
"Rep of Korea",
"Rep of Yemen",
"Romania",
"Russian Federation",
"Rwanda",
"St-Lucia",
"St-Vincent and the Grenadines",
"Samoa",
"Sao Tome and Principe",
"Saudi Arabia",
"Senegal",
"Serbia",
"Seychelles",
"Sierra Leone",
"Singapore",
"Slovak Republic",
"Slovenia",
"Solomon Islands",
"Somalia",
"South Africa",
"South America",
"South Sudan",
"South-Central Asia",
"South-Eastern Asia",
"Southern Africa",
"Southern Asia",
"Southern Europe",
"Spain",
"Sri Lanka",
"West Bank and Gaza",
"Sub-Saharan Africa",
"Sudan",
"Suriname",
"Swaziland",
"Sweden",
"Switzerland",
"Syrian Arab Rep",
"Tajikistan",
"Tanzania",
"Thailand",
"Timor-Leste",
"Togo",
"Tonga",
"Trinidad and Tobago",
"Tunisia",
"Turkey",
"Turkmenistan",
"Uganda",
"Ukraine",
"United Arab Emirates",
"United Kingdom",
"United States",
"US Virgin Islands",
"Uruguay",
"Uzbekistan",
"Vanuatu",
"Vietnam",
"Western Africa",
"Western Asia",
"Western Europe",
"Western Sahara",
"World",
"Zambia",
"Zimbabwe"

mmm-census's People

Contributors

mykle1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

mrschick

mmm-census's Issues

Crowd the world

hello,

i have just "crowd the world" when i use your module.
What's the problem (i m using your config.js) ?
thanks

Module not functional.....

Hi, is this module still on support please ?

at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
at n._resolveFilename (node:electron/js2c/browser_init:245:1105)
at Module._resolveFilename (C:\Users\goyet\MagicMirror\node_modules\module-alias\index.js:49:29)
at Module._load (node:internal/modules/cjs/loader:785:27)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (C:\Users\goyet\MagicMirror\modules\MMM-Census\node_helper.js:8:17)
at Module._compile (node:internal/modules/cjs/loader:1118:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)

[22.07.2022 11:57.40.246] [ERROR] Whoops! There was an uncaught exception...
[22.07.2022 11:57.40.252] [ERROR] Error: Cannot find module 'request'
Require stack:

  • C:\Users\goyet\MagicMirror\modules\MMM-Census\node_helper.js
  • C:\Users\goyet\MagicMirror\js\app.js
  • C:\Users\goyet\MagicMirror\js\electron.js
  • C:\Users\goyet\MagicMirror\node_modules\electron\dist\resources\default_app.asar\main.js
  • at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
    at n._resolveFilename (node:electron/js2c/browser_init:245:1105)
    at Module._resolveFilename (C:\Users\goyet\MagicMirror\node_modules\module-alias\index.js:49:29)
    at Module._load (node:internal/modules/cjs/loader:785:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (C:\Users\goyet\MagicMirror\modules\MMM-Census\node_helper.js:8:17)
    at Module._compile (node:internal/modules/cjs/loader:1118:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1173:10) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\Users\goyet\MagicMirror\modules\MMM-Census\node_helper.js',
    'C:\Users\goyet\MagicMirror\js\app.js',
    'C:\Users\goyet\MagicMirror\js\electron.js',
    'C:\Users\goyet\MagicMirror\node_modules\electron\dist\resources\default_app.asar\main.js',
    undefined
    ]
    }

Dubouc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.