Page 1 of 1

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

PostPosted: Wed Apr 27, 2022 2:12 pm
by Aura Banitia
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)

PostPosted: Wed Apr 27, 2022 2:16 pm
by Equai

PostPosted: Wed Apr 27, 2022 2:25 pm
by Aura Banitia


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.

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

PostPosted: Wed Apr 27, 2022 2:48 pm
by Aura Banitia
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.

PostPosted: Wed Apr 27, 2022 8:55 pm
by Refuge Isle
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

PostPosted: Wed Apr 27, 2022 9:03 pm
by United Calanworie
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.

PostPosted: Thu Apr 28, 2022 8:25 am
by IKTeam
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