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: 33
Founded: Mar 18, 2020
Corrupt Dictatorship

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
Chargé d'Affaires
 
Posts: 462
Founded: Mar 05, 2022
Left-wing Utopia

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

Embassy Program
We have liberated Europe from fascism, but they will never forgive us for it.
-Zhukov
She/Her
Far-left (Marxist-Leninist). Anti-war, anti-imperialist, pro-choice, atheist.
⚧♀Trans woman♀⚧
EBN News: -STATE OF EMERGENCY- News to be added later.

✨ Proudly not a westerner ✨
All NS policies are canon

User avatar
Aura Banitia
Secretary
 
Posts: 33
Founded: Mar 18, 2020
Corrupt Dictatorship

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: 33
Founded: Mar 18, 2020
Corrupt Dictatorship

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
Ambassador
 
Posts: 1350
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.
Sir Merlin wrote:may your children have become part of the natural ecosystem of devouring and being devoured.

User avatar
United Calanworie
Technical Moderator
 
Posts: 1904
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.
During Pride month, consider donating to a charity that helps LGBTQ+ youth.
Trans rights are human rights.
||||||||||||||||||||
Discord: Aav#7546
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
Psychotic Dictatorship

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: The Plough Islands

Advertisement

Remove ads