diff --git a/rmc562.ipynb b/rmc562.ipynb new file mode 100644 index 0000000..a65d0c0 --- /dev/null +++ b/rmc562.ipynb @@ -0,0 +1,526 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "" + ] + }, + "execution_count": 1, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "import pprint\n", + "import re\n", + "import pymongo, json\n", + "\n", + "pp = pprint.PrettyPrinter(indent=1,width=65)\n", + "\n", + "client = pymongo.MongoClient (host=\"da1.eecs.utk.edu\")\n", + "db = client ['fdac19mp2']\n", + "coll = db ['rmc562']\n", + "# for each dataset\n", + "# coll.insert_one ( { 'topic':'git URLs', 'first dataset': 'largest projects', 'license': 'NA', 'description': 'The list of projects on github with the largest number of starts', 'urls': [ 'url1', 'url2' ] } )\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Lifetime Nintedo Sales', 'license': 'NA', 'description': 'List of sales through Nintendos lifespan.', 'urls': ['https://www.statista.com/statistics/227012/lifetime-unit-sales-of-nintendos-home-consoles/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Sales Since 2008', 'license': 'NA', 'description': 'List of Nintendo sales since 2008.', 'urls': ['https://www.statista.com/statistics/216622/net-sales-of-nintendo-since-2008/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Product Revenue since 2016', 'license': 'NA', 'description': 'List of Nintendo revenue, by product, since 2016.', 'urls': ['https://www.statista.com/statistics/216629/nintendo-sales-by-product/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo 3DS Sales', 'license': 'NA', 'description': 'List of sales through Nintendo 3ds lifespan.', 'urls': ['https://www.statista.com/statistics/262074/worldwide-sales-of-the-nintendo-3ds-since-2004/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Revenue by Region', 'license': 'NA', 'description': 'List of Nintendo revenue by region.', 'urls': ['https://www.statista.com/statistics/216627/revenue-of-nintendo-by-region/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Income since 2008', 'license': 'NA', 'description': 'Nintendo Income since 2008.', 'urls': ['https://www.statista.com/statistics/216625/net-income-of-nintendo-since-2008/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Consoles used by Affluent people in 2018', 'license': 'NA', 'description': 'Nintendo consoles used by affluent Americans 2018.', 'urls': ['https://www.statista.com/statistics/672323/share-of-affluent-americans-who-owned-video-game-consoles-and-handheld-video-game-systems-from-nintendo/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Most Sold Nintedo 3DS Games', 'license': 'NA', 'description': 'Top selling Nintendo 3ds games.', 'urls': ['https://www.statista.com/statistics/259083/top-selling-nintendo-3ds-titles-worldwide/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Wii and Wii U Sales', 'license': 'NA', 'description': 'Nintendo Wii and Wii U sales.', 'urls': ['https://www.statista.com/statistics/349078/nintendo-wii-and-wii-u-console-sales/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Top Selling DS Games', 'license': 'NA', 'description': 'Top selling Nintendo DS games.', 'urls': ['https://www.statista.com/statistics/248205/top-selling-nintendo-ds-titles-worldwide/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Unit Sales', 'license': 'NA', 'description': 'Nintendo unit sales per month since 2017.', 'urls': ['https://www.statista.com/statistics/1029261/nintendo-switch-unit-sales-united-states/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Ad Money Spent', 'license': 'NA', 'description': 'Money spent on Nintendo ads worldwide.', 'urls': ['https://www.statista.com/statistics/708011/nintendo-advertising-expenses/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo DS Sales Worldwide', 'license': 'NA', 'description': 'Nintendo DS sales worldwide.', 'urls': ['https://www.statista.com/statistics/271775/worldwide-sales-of-the-nintendo-ds-since-2004/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo DS and 3DS Sales', 'license': 'NA', 'description': 'Nintendo DS and 3DS unit sales since 2011.', 'urls': ['https://www.statista.com/statistics/281840/unit-sales-of-the-nintendo-3ds-in-the-united-kingdom-uk/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Switch Unit Sales', 'license': 'NA', 'description': 'Nintendo Switch unit sales.', 'urls': ['https://www.statista.com/statistics/868256/nintendo-switch-software-sales/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'German attitude towards Nintedo', 'license': 'NA', 'description': 'Attitude towards Nintendo in Germany 2016-2019.', 'urls': ['https://www.statista.com/statistics/458748/brand-triad-nintendo-germany/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Employees', 'license': 'NA', 'description': 'Number of employeesat Nintendo.', 'urls': ['https://cdn5.statista.com/statistics/349038/employees-at-nintendo/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'German Nintedo 3DS Sales', 'license': 'NA', 'description': 'Nintendo 3DS sales in Germany.', 'urls': ['https://www.statista.com/statistics/494563/nintendo-3ds-sales-volume-germany/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo 3DS Software Sales', 'license': 'NA', 'description': 'Nintendo 3DS software unit sales.', 'urls': ['https://static1.statista.com/statistics/349072/nintendo-3ds-software-unit-sales/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'German Nintedo Wii Sales', 'license': 'NA', 'description': 'Nintendo Wii sales in Germany until 2015.', 'urls': ['https://www.statista.com/statistics/486090/sales-voulme-of-the-nintendo-wii-germany/']})\n" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'_id': ObjectId('5d88d336453b4eb995e55480'),\n", + " 'description': 'List of sales through Nintendos lifespan.',\n", + " 'first dataset': 'Lifetime Nintedo Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/227012/lifetime-unit-sales-of-nintendos-home-consoles/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55481'),\n", + " 'description': 'List of Nintendo sales since 2008.',\n", + " 'first dataset': 'Nintedo Sales Since 2008',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/216622/net-sales-of-nintendo-since-2008/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55482'),\n", + " 'description': 'List of Nintendo revenue, by product, since '\n", + " '2016.',\n", + " 'first dataset': 'Nintedo Product Revenue since 2016',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/216629/nintendo-sales-by-product/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55483'),\n", + " 'description': 'List of sales through Nintendo 3ds lifespan.',\n", + " 'first dataset': 'Nintedo 3DS Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/262074/worldwide-sales-of-the-nintendo-3ds-since-2004/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55484'),\n", + " 'description': 'List of Nintendo revenue by region.',\n", + " 'first dataset': 'Nintedo Revenue by Region',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/216627/revenue-of-nintendo-by-region/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55485'),\n", + " 'description': 'Nintendo Income since 2008.',\n", + " 'first dataset': 'Nintedo Income since 2008',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/216625/net-income-of-nintendo-since-2008/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55486'),\n", + " 'description': 'Nintendo consoles used by affluent Americans '\n", + " '2018.',\n", + " 'first dataset': 'Nintedo Consoles used by Affluent people in '\n", + " '2018',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/672323/share-of-affluent-americans-who-owned-video-game-consoles-and-handheld-video-game-systems-from-nintendo/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55487'),\n", + " 'description': 'Top selling Nintendo 3ds games.',\n", + " 'first dataset': 'Most Sold Nintedo 3DS Games',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/259083/top-selling-nintendo-3ds-titles-worldwide/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55488'),\n", + " 'description': 'Nintendo Wii and Wii U sales.',\n", + " 'first dataset': 'Nintedo Wii and Wii U Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/349078/nintendo-wii-and-wii-u-console-sales/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55489'),\n", + " 'description': 'Top selling Nintendo DS games.',\n", + " 'first dataset': 'Top Selling DS Games',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/248205/top-selling-nintendo-ds-titles-worldwide/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e5548a'),\n", + " 'description': 'Nintendo unit sales per month since 2017.',\n", + " 'first dataset': 'Nintedo Unit Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/1029261/nintendo-switch-unit-sales-united-states/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e5548b'),\n", + " 'description': 'Money spent on Nintendo ads worldwide.',\n", + " 'first dataset': 'Nintedo Ad Money Spent',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/708011/nintendo-advertising-expenses/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e5548c'),\n", + " 'description': 'Nintendo DS sales worldwide.',\n", + " 'first dataset': 'Nintedo DS Sales Worldwide',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/271775/worldwide-sales-of-the-nintendo-ds-since-2004/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e5548d'),\n", + " 'description': 'Nintendo DS and 3DS unit sales since 2011.',\n", + " 'first dataset': 'Nintedo DS and 3DS Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/281840/unit-sales-of-the-nintendo-3ds-in-the-united-kingdom-uk/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e5548e'),\n", + " 'description': 'Nintendo Switch unit sales.',\n", + " 'first dataset': 'Nintedo Switch Unit Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/868256/nintendo-switch-software-sales/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e5548f'),\n", + " 'description': 'Attitude towards Nintendo in Germany '\n", + " '2016-2019.',\n", + " 'first dataset': 'German attitude towards Nintedo',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/458748/brand-triad-nintendo-germany/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55490'),\n", + " 'description': 'Number of employeesat Nintendo.',\n", + " 'first dataset': 'Nintedo Employees',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://cdn5.statista.com/statistics/349038/employees-at-nintendo/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55491'),\n", + " 'description': 'Nintendo 3DS sales in Germany.',\n", + " 'first dataset': 'German Nintedo 3DS Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/494563/nintendo-3ds-sales-volume-germany/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55492'),\n", + " 'description': 'Nintendo 3DS software unit sales.',\n", + " 'first dataset': 'Nintedo 3DS Software Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://static1.statista.com/statistics/349072/nintendo-3ds-software-unit-sales/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55493'),\n", + " 'description': 'Nintendo Wii sales in Germany until 2015.',\n", + " 'first dataset': 'German Nintedo Wii Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/486090/sales-voulme-of-the-nintendo-wii-germany/']}\n" + ] + } + ], + "source": [ + "import pprint\n", + "import pymongo, json\n", + "client = pymongo.MongoClient (host=\"da1.eecs.utk.edu\")\n", + "db = client ['fdac19mp2']\n", + "coll = db ['rmc562']\n", + "pp = pprint.PrettyPrinter(indent=1,width=65)\n", + "for r in coll. find():\n", + " print(pp .pformat (r)) " + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'_id': ObjectId('5d88d336453b4eb995e55480'),\n", + " 'description': 'List of sales through Nintendos lifespan.',\n", + " 'first dataset': 'Lifetime Nintedo Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/227012/lifetime-unit-sales-of-nintendos-home-consoles/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55481'),\n", + " 'description': 'List of Nintendo sales since 2008.',\n", + " 'first dataset': 'Nintedo Sales Since 2008',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/216622/net-sales-of-nintendo-since-2008/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55482'),\n", + " 'description': 'List of Nintendo revenue, by product, since '\n", + " '2016.',\n", + " 'first dataset': 'Nintedo Product Revenue since 2016',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/216629/nintendo-sales-by-product/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55483'),\n", + " 'description': 'List of sales through Nintendo 3ds lifespan.',\n", + " 'first dataset': 'Nintedo 3DS Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/262074/worldwide-sales-of-the-nintendo-3ds-since-2004/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55484'),\n", + " 'description': 'List of Nintendo revenue by region.',\n", + " 'first dataset': 'Nintedo Revenue by Region',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/216627/revenue-of-nintendo-by-region/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55485'),\n", + " 'description': 'Nintendo Income since 2008.',\n", + " 'first dataset': 'Nintedo Income since 2008',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/216625/net-income-of-nintendo-since-2008/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55486'),\n", + " 'description': 'Nintendo consoles used by affluent Americans '\n", + " '2018.',\n", + " 'first dataset': 'Nintedo Consoles used by Affluent people in '\n", + " '2018',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/672323/share-of-affluent-americans-who-owned-video-game-consoles-and-handheld-video-game-systems-from-nintendo/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55487'),\n", + " 'description': 'Top selling Nintendo 3ds games.',\n", + " 'first dataset': 'Most Sold Nintedo 3DS Games',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/259083/top-selling-nintendo-3ds-titles-worldwide/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55488'),\n", + " 'description': 'Nintendo Wii and Wii U sales.',\n", + " 'first dataset': 'Nintedo Wii and Wii U Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/349078/nintendo-wii-and-wii-u-console-sales/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55489'),\n", + " 'description': 'Top selling Nintendo DS games.',\n", + " 'first dataset': 'Top Selling DS Games',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/248205/top-selling-nintendo-ds-titles-worldwide/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e5548a'),\n", + " 'description': 'Nintendo unit sales per month since 2017.',\n", + " 'first dataset': 'Nintedo Unit Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/1029261/nintendo-switch-unit-sales-united-states/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e5548b'),\n", + " 'description': 'Money spent on Nintendo ads worldwide.',\n", + " 'first dataset': 'Nintedo Ad Money Spent',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/708011/nintendo-advertising-expenses/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e5548c'),\n", + " 'description': 'Nintendo DS sales worldwide.',\n", + " 'first dataset': 'Nintedo DS Sales Worldwide',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/271775/worldwide-sales-of-the-nintendo-ds-since-2004/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e5548d'),\n", + " 'description': 'Nintendo DS and 3DS unit sales since 2011.',\n", + " 'first dataset': 'Nintedo DS and 3DS Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/281840/unit-sales-of-the-nintendo-3ds-in-the-united-kingdom-uk/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e5548e'),\n", + " 'description': 'Nintendo Switch unit sales.',\n", + " 'first dataset': 'Nintedo Switch Unit Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/868256/nintendo-switch-software-sales/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e5548f'),\n", + " 'description': 'Attitude towards Nintendo in Germany '\n", + " '2016-2019.',\n", + " 'first dataset': 'German attitude towards Nintedo',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/458748/brand-triad-nintendo-germany/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55490'),\n", + " 'description': 'Number of employeesat Nintendo.',\n", + " 'first dataset': 'Nintedo Employees',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://cdn5.statista.com/statistics/349038/employees-at-nintendo/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55491'),\n", + " 'description': 'Nintendo 3DS sales in Germany.',\n", + " 'first dataset': 'German Nintedo 3DS Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/494563/nintendo-3ds-sales-volume-germany/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55492'),\n", + " 'description': 'Nintendo 3DS software unit sales.',\n", + " 'first dataset': 'Nintedo 3DS Software Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://static1.statista.com/statistics/349072/nintendo-3ds-software-unit-sales/']}\n", + "{'_id': ObjectId('5d88d336453b4eb995e55493'),\n", + " 'description': 'Nintendo Wii sales in Germany until 2015.',\n", + " 'first dataset': 'German Nintedo Wii Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/486090/sales-voulme-of-the-nintendo-wii-germany/']}\n", + "{'_id': ObjectId('5d88d368453b4eb995e55497'),\n", + " 'description': 'List of sales through Nintendos lifespan.',\n", + " 'first dataset': 'Lifetime Nintedo Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/227012/lifetime-unit-sales-of-nintendos-home-consoles/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e55498'),\n", + " 'description': 'List of Nintendo sales since 2008.',\n", + " 'first dataset': 'Nintedo Sales Since 2008',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/216622/net-sales-of-nintendo-since-2008/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e55499'),\n", + " 'description': 'List of Nintendo revenue, by product, since '\n", + " '2016.',\n", + " 'first dataset': 'Nintedo Product Revenue since 2016',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/216629/nintendo-sales-by-product/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e5549a'),\n", + " 'description': 'List of sales through Nintendo 3ds lifespan.',\n", + " 'first dataset': 'Nintedo 3DS Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/262074/worldwide-sales-of-the-nintendo-3ds-since-2004/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e5549b'),\n", + " 'description': 'List of Nintendo revenue by region.',\n", + " 'first dataset': 'Nintedo Revenue by Region',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/216627/revenue-of-nintendo-by-region/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e5549c'),\n", + " 'description': 'Nintendo Income since 2008.',\n", + " 'first dataset': 'Nintedo Income since 2008',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/216625/net-income-of-nintendo-since-2008/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e5549d'),\n", + " 'description': 'Nintendo consoles used by affluent Americans '\n", + " '2018.',\n", + " 'first dataset': 'Nintedo Consoles used by Affluent people in '\n", + " '2018',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/672323/share-of-affluent-americans-who-owned-video-game-consoles-and-handheld-video-game-systems-from-nintendo/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e5549e'),\n", + " 'description': 'Top selling Nintendo 3ds games.',\n", + " 'first dataset': 'Most Sold Nintedo 3DS Games',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/259083/top-selling-nintendo-3ds-titles-worldwide/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e5549f'),\n", + " 'description': 'Nintendo Wii and Wii U sales.',\n", + " 'first dataset': 'Nintedo Wii and Wii U Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/349078/nintendo-wii-and-wii-u-console-sales/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e554a0'),\n", + " 'description': 'Top selling Nintendo DS games.',\n", + " 'first dataset': 'Top Selling DS Games',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/248205/top-selling-nintendo-ds-titles-worldwide/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e554a1'),\n", + " 'description': 'Nintendo unit sales per month since 2017.',\n", + " 'first dataset': 'Nintedo Unit Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/1029261/nintendo-switch-unit-sales-united-states/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e554a2'),\n", + " 'description': 'Money spent on Nintendo ads worldwide.',\n", + " 'first dataset': 'Nintedo Ad Money Spent',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/708011/nintendo-advertising-expenses/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e554a3'),\n", + " 'description': 'Nintendo DS sales worldwide.',\n", + " 'first dataset': 'Nintedo DS Sales Worldwide',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/271775/worldwide-sales-of-the-nintendo-ds-since-2004/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e554a4'),\n", + " 'description': 'Nintendo DS and 3DS unit sales since 2011.',\n", + " 'first dataset': 'Nintedo DS and 3DS Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/281840/unit-sales-of-the-nintendo-3ds-in-the-united-kingdom-uk/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e554a5'),\n", + " 'description': 'Nintendo Switch unit sales.',\n", + " 'first dataset': 'Nintedo Switch Unit Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/868256/nintendo-switch-software-sales/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e554a6'),\n", + " 'description': 'Attitude towards Nintendo in Germany '\n", + " '2016-2019.',\n", + " 'first dataset': 'German attitude towards Nintedo',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/458748/brand-triad-nintendo-germany/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e554a7'),\n", + " 'description': 'Number of employeesat Nintendo.',\n", + " 'first dataset': 'Nintedo Employees',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://cdn5.statista.com/statistics/349038/employees-at-nintendo/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e554a8'),\n", + " 'description': 'Nintendo 3DS sales in Germany.',\n", + " 'first dataset': 'German Nintedo 3DS Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/494563/nintendo-3ds-sales-volume-germany/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e554a9'),\n", + " 'description': 'Nintendo 3DS software unit sales.',\n", + " 'first dataset': 'Nintedo 3DS Software Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://static1.statista.com/statistics/349072/nintendo-3ds-software-unit-sales/']}\n", + "{'_id': ObjectId('5d88d36d453b4eb995e554aa'),\n", + " 'description': 'Nintendo Wii sales in Germany until 2015.',\n", + " 'first dataset': 'German Nintedo Wii Sales',\n", + " 'license': 'NA',\n", + " 'topic': 'Nintendo',\n", + " 'urls': ['https://www.statista.com/statistics/486090/sales-voulme-of-the-nintendo-wii-germany/']}\n" + ] + } + ], + "source": [ + "import pprint\n", + "import re\n", + "import pymongo, json\n", + "\n", + "pp = pprint.PrettyPrinter(indent=1, width=65)\n", + "\n", + "client = pymongo.MongoClient(host=\"da1.eecs.utk.edu\")\n", + "db = client['fdac19mp2']\n", + "coll = db['rmc562']\n", + "# for each dataset\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Lifetime Nintedo Sales', 'license': 'NA', 'description': 'List of sales through Nintendos lifespan.', 'urls': ['https://www.statista.com/statistics/227012/lifetime-unit-sales-of-nintendos-home-consoles/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Sales Since 2008', 'license': 'NA', 'description': 'List of Nintendo sales since 2008.', 'urls': ['https://www.statista.com/statistics/216622/net-sales-of-nintendo-since-2008/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Product Revenue since 2016', 'license': 'NA', 'description': 'List of Nintendo revenue, by product, since 2016.', 'urls': ['https://www.statista.com/statistics/216629/nintendo-sales-by-product/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo 3DS Sales', 'license': 'NA', 'description': 'List of sales through Nintendo 3ds lifespan.', 'urls': ['https://www.statista.com/statistics/262074/worldwide-sales-of-the-nintendo-3ds-since-2004/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Revenue by Region', 'license': 'NA', 'description': 'List of Nintendo revenue by region.', 'urls': ['https://www.statista.com/statistics/216627/revenue-of-nintendo-by-region/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Income since 2008', 'license': 'NA', 'description': 'Nintendo Income since 2008.', 'urls': ['https://www.statista.com/statistics/216625/net-income-of-nintendo-since-2008/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Consoles used by Affluent people in 2018', 'license': 'NA', 'description': 'Nintendo consoles used by affluent Americans 2018.', 'urls': ['https://www.statista.com/statistics/672323/share-of-affluent-americans-who-owned-video-game-consoles-and-handheld-video-game-systems-from-nintendo/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Most Sold Nintedo 3DS Games', 'license': 'NA', 'description': 'Top selling Nintendo 3ds games.', 'urls': ['https://www.statista.com/statistics/259083/top-selling-nintendo-3ds-titles-worldwide/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Wii and Wii U Sales', 'license': 'NA', 'description': 'Nintendo Wii and Wii U sales.', 'urls': ['https://www.statista.com/statistics/349078/nintendo-wii-and-wii-u-console-sales/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Top Selling DS Games', 'license': 'NA', 'description': 'Top selling Nintendo DS games.', 'urls': ['https://www.statista.com/statistics/248205/top-selling-nintendo-ds-titles-worldwide/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Unit Sales', 'license': 'NA', 'description': 'Nintendo unit sales per month since 2017.', 'urls': ['https://www.statista.com/statistics/1029261/nintendo-switch-unit-sales-united-states/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Ad Money Spent', 'license': 'NA', 'description': 'Money spent on Nintendo ads worldwide.', 'urls': ['https://www.statista.com/statistics/708011/nintendo-advertising-expenses/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo DS Sales Worldwide', 'license': 'NA', 'description': 'Nintendo DS sales worldwide.', 'urls': ['https://www.statista.com/statistics/271775/worldwide-sales-of-the-nintendo-ds-since-2004/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo DS and 3DS Sales', 'license': 'NA', 'description': 'Nintendo DS and 3DS unit sales since 2011.', 'urls': ['https://www.statista.com/statistics/281840/unit-sales-of-the-nintendo-3ds-in-the-united-kingdom-uk/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Switch Unit Sales', 'license': 'NA', 'description': 'Nintendo Switch unit sales.', 'urls': ['https://www.statista.com/statistics/868256/nintendo-switch-software-sales/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'German attitude towards Nintedo', 'license': 'NA', 'description': 'Attitude towards Nintendo in Germany 2016-2019.', 'urls': ['https://www.statista.com/statistics/458748/brand-triad-nintendo-germany/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo Employees', 'license': 'NA', 'description': 'Number of employeesat Nintendo.', 'urls': ['https://cdn5.statista.com/statistics/349038/employees-at-nintendo/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'German Nintedo 3DS Sales', 'license': 'NA', 'description': 'Nintendo 3DS sales in Germany.', 'urls': ['https://www.statista.com/statistics/494563/nintendo-3ds-sales-volume-germany/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'Nintedo 3DS Software Sales', 'license': 'NA', 'description': 'Nintendo 3DS software unit sales.', 'urls': ['https://static1.statista.com/statistics/349072/nintendo-3ds-software-unit-sales/']})\n", + "coll.insert_one ({'topic':'Nintendo', 'first dataset': 'German Nintedo Wii Sales', 'license': 'NA', 'description': 'Nintendo Wii sales in Germany until 2015.', 'urls': ['https://www.statista.com/statistics/486090/sales-voulme-of-the-nintendo-wii-germany/']})\n", + "\n", + "pp = pprint.PrettyPrinter(indent=1, width=65)\n", + "for r in coll. find():\n", + " print(pp .pformat(r))" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.6.7" + } + }, + "nbformat": 4, + "nbformat_minor": 1 +}