NATION

PASSWORD

Is it possible to extract a nation's "Economic Growth" data?

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Aura Banitia
Secretary
 
Posts: 36
Founded: Mar 18, 2020
Left-Leaning College State

Is it possible to extract a nation's "Economic Growth" data?

Postby Aura Banitia » Wed Apr 27, 2022 2:12 pm

Is it possible to extract a nation's "Economic Growth" data into an excel file? If so, how? (i.e. the data in this https://www.nationstates.net/nation=aur ... ensusid=76)
Last edited by Aura Banitia on Wed Apr 27, 2022 2:14 pm, edited 1 time in total.
AURA BANITIA
Account Created: 2013

Geography | Government | Military

User avatar
Equai
Diplomat
 
Posts: 548
Founded: Mar 05, 2022
Liberal Democratic Socialists

Postby Equai » Wed Apr 27, 2022 2:16 pm

She/Her
MLM. Anti-war, anti-imperialist, pro-choice, atheist.
⚧♀Trans woman♀⚧

EBN News: Romania Implements Trade Blockade on Equai Following Execution of Anton "Cezar" Neacsu

☭✨ Living unironically in Eastern Europe ✨☭
We have liberated Europe from fascism, but they will never forgive us for it.
-Zhukov

User avatar
Aura Banitia
Secretary
 
Posts: 36
Founded: Mar 18, 2020
Left-Leaning College State

Postby Aura Banitia » Wed Apr 27, 2022 2:25 pm



NSEconomy's more detailed statistics doesn't help me much. I am hoping to extract the data directly so that I can literally see the day by day increases in my nation numerically, instead of with a line chart.
AURA BANITIA
Account Created: 2013

Geography | Government | Military

User avatar
Aura Banitia
Secretary
 
Posts: 36
Founded: Mar 18, 2020
Left-Leaning College State

Is it possible to extract a nation's "Economic Growth" data?

Postby Aura Banitia » Wed Apr 27, 2022 2:48 pm

Is it possible to extract a nation's "Economic Growth" data into an excel file? If so, how? (i.e. the data in this https://www.nationstates.net/nation=aur ... ensusid=76)

By "excel file", I'm really just looking for a way to display the numeric date and GDP value side by side, in "literal" form instead of a line chart.
Last edited by Aura Banitia on Wed Apr 27, 2022 2:50 pm, edited 1 time in total.
AURA BANITIA
Account Created: 2013

Geography | Government | Military

User avatar
Refuge Isle
Technical Moderator
 
Posts: 1874
Founded: Dec 14, 2018
Left-wing Utopia

Postby Refuge Isle » Wed Apr 27, 2022 8:55 pm

Aura Banitia wrote:Is it possible to extract a nation's "Economic Growth" data into an excel file? If so, how? (i.e. the data in this https://www.nationstates.net/nation=aur ... ensusid=76)

By "excel file", I'm really just looking for a way to display the numeric date and GDP value side by side, in "literal" form instead of a line chart.

You can pull the raw data from the API: https://www.nationstates.net/cgi-bin/ap ... s;scale=76

As well as view your history with a given census or set of census stats: https://www.nationstates.net/cgi-bin/ap ... de=history

API Docs
Last edited by Refuge Isle on Wed Apr 27, 2022 8:56 pm, edited 1 time in total.

User avatar
United Calanworie
Technical Moderator
 
Posts: 3763
Founded: Dec 12, 2018
Democratic Socialists

Postby United Calanworie » Wed Apr 27, 2022 9:03 pm

Yes, although this will require a decent amount of programming knowledge. The NS API would let you gather the data going forward, and looking backwards you could use the Daily Dumps, although if you're doing that, make sure to not download a bunch at the same time and space out your requests in a sensible manner in order to avoid stressing the site. You may find the Scripting Hub to be of some use while you embark on this endeavor.

EDIT: Please refer to Refuge Isle's post on this matter for the shard you're looking for as I have momentarily lost my brain and forgot what shard you were looking for. Economic growth is not contained in the daily dump.
Last edited by United Calanworie on Wed Apr 27, 2022 9:08 pm, edited 2 times in total.
Trans rights are human rights.
||||||||||||||||||||
Discord: Aav#7546 @queerlyfe
She/Her/Hers
My telegrams are not for Moderation enquiries, those belong in a GHR. Feel free to reach out if you want to just chat.

User avatar
IKTeam
Lobbyist
 
Posts: 20
Founded: Apr 26, 2020
Ex-Nation

Postby IKTeam » Thu Apr 28, 2022 8:25 am

Hello! My application NSCharts -> viewtopic.php?f=15&t=505625 allows to export any nation's statistic into an Excel file.

It looks like this when exported:
Image


Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Apanburg, Armed Republic of Korea, Da Netherlands, Google [Bot], Grand Anglestone, Katrzynija, Khantin, LoboHobo, Misdainana, The Endless Eventide, Thebernesen, Virgolia, Volaworand, Yerrisey

Advertisement

Remove ads