Wikidata:Requests for permissions/Bot/Dexbot 12
The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
Global Economic Map Bot edit
Global Economic Map Bot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Alex and Amir
Task/s: The Global Economic Map Bot will be the primary bot to update the Global Economic Map project. It will retrieve data from a variety of economic databases.
Code: Python
Function details: The Global Economic Map Bot will be the primary bot to update the Global Economic Map project. It will retrieve data from World Bank Indicators, UN Statistics, International Labor Organization, Bureau of Economic Analysis, Gapminder World, OpenCorporates and OpenSpending. The data retrieved will automatically update Wikidata with economic statistics and it will also update the Global Economic Map project. --Mcnabber091 (talk) 21:42, 26 January 2014 (UTC)Reply[reply]
- I'm helping for the harvesting and adding these data Amir (talk) 21:47, 26 January 2014 (UTC)Reply[reply]
@Mcnabber091, Ladsgroup: What is the current status of this project? --Pasleim (talk) 13:43, 21 September 2015 (UTC)Reply[reply]
- I want to start this bot very soon. Since units are live Amir (talk) 13:51, 21 September 2015 (UTC)Reply[reply]
- I will approve the request tomorrow evening provided there have been no objections.--Ymblanter (talk) 17:29, 21 September 2015 (UTC)Reply[reply]
- Please register the user and make several test edits.--Ymblanter (talk) 07:25, 23 September 2015 (UTC)Reply[reply]
- @Ladsgroup, mcnabber091: Any updates? Hazard SJ 04:13, 26 December 2015 (UTC)Reply[reply]
- @Hazard-SJ: I finished the script and I'm harvesting data for nominal GDP (P2131) from world bank right now. We can go on other properties easily Amir (talk) 13:58, 26 December 2015 (UTC)Reply[reply]
┌────────────────────────────────────────────────────────────────────────────────────────────────────┘ @Ladsgroup: I was unable to find the related edits. Could I (and anyone else who wants to see) please have a direct link to them? Hazard SJ 00:12, 30 December 2015 (UTC)Reply[reply]
- @Hazard-SJ: Start from here Sorry. I thought my bot hasn't done more than a few edits in the past days, clearly I was wrong. Amir (talk) 14:52, 30 December 2015 (UTC)Reply[reply]
- @Ladsgroup: Having looked at a few, this is the 2013 value (the table contains none for 2014), and this sets the value as 14,196,912,534±1 (whereas the table says 14,196,912,535, so why not set 14,196,912,535±1?). Hazard SJ 02:05, 3 January 2016 (UTC)Reply[reply]
- @Hazard-SJ: Hey, Thanks for the review. For first one, it was a bug in parsing values the only affected countries are:
- @Ladsgroup: Having looked at a few, this is the 2013 value (the table contains none for 2014), and this sets the value as 14,196,912,534±1 (whereas the table says 14,196,912,535, so why not set 14,196,912,535±1?). Hazard SJ 02:05, 3 January 2016 (UTC)Reply[reply]
Bahamas, The Congo, Rep. Egypt, Arab Rep. Micronesia, Fed. Sts. Gambia, The Hong Kong SAR, China Iran, Islamic Rep. Korea, Rep. Macao SAR, China Macedonia, FYR Korea, Dem. Rep. Venezuela, RB Yemen, Rep. Congo, Dem. Rep.
It's fixed now. The other thing is that. In their API it's saved as 14,196,912,534.6. I cut the decimal part, the GUI rounded it. I changed it to rounding for sake of consistency. The question is whether we want to fix made edits or not. Best Amir (talk) 15:31, 3 January 2016 (UTC)Reply[reply]
- @Ladsgroup: Thanks for the update, but do we even need to round? Why not just use the exact value? Also, for the ones with the decimal simply cut off, strictly speaking they're technically still correct (thanks to the ±1), but if it's not too much work it would probably be nice to have them set to a more accurate value. Anyways, that aside, is that other account still going to be created, or will this task be assigned to Dexbot? Also, are you going to import the data for multiple years, or just the most recent? I think it might be useful to set the preferred rank to the most recent nominal GDP if so. Hazard SJ 18:44, 3 January 2016 (UTC)Reply[reply]
- @Hazard-SJ: GDP of country definitely has way more error than 10 cents. I think it's safe to keep it around 1 dollar. About the bot account. I'm not sure. Do you think we should make another one, switching between accounts is not easy for me. Lastly, I'll not import multiple years now, let's finish recent year values and then I start importing two or three more years (definitely I use preferred rank in that case) and see how it goes :) Amir (talk) 11:32, 5 January 2016 (UTC)Reply[reply]
- @Ladsgroup: That's rounding is fine, then. Regarding the multiple years, that's also fine. Regarding the bot account, that's up to you, it would just be nice to know what account this will be approved for (and consequently if a bot flag would be needed). I'm okay with approving this, just need that last bit of information :) Hazard SJ 21:10, 7 January 2016 (UTC)Reply[reply]
- I am not going to approve a non-existent bot account. It is not even technically possible.--Ymblanter (talk) 21:31, 7 January 2016 (UTC)Reply[reply]
- @Ladsgroup: That's rounding is fine, then. Regarding the multiple years, that's also fine. Regarding the bot account, that's up to you, it would just be nice to know what account this will be approved for (and consequently if a bot flag would be needed). I'm okay with approving this, just need that last bit of information :) Hazard SJ 21:10, 7 January 2016 (UTC)Reply[reply]
- @Hazard-SJ: GDP of country definitely has way more error than 10 cents. I think it's safe to keep it around 1 dollar. About the bot account. I'm not sure. Do you think we should make another one, switching between accounts is not easy for me. Lastly, I'll not import multiple years now, let's finish recent year values and then I start importing two or three more years (definitely I use preferred rank in that case) and see how it goes :) Amir (talk) 11:32, 5 January 2016 (UTC)Reply[reply]