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
Lobbyist
 
Posts: 23
Founded: Mar 18, 2020
Scandinavian Liberal Paradise

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.

User avatar
Equai
Envoy
 
Posts: 256
Founded: Mar 05, 2022
Civil Rights Lovefest

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

She/Her

Queer Liberation, Not Rainbow Capitalism! | After almost six hours since the final talks began Leona Kiwi and Timothy Kansas left the meeting room and declared the formation of Equaian United Peoples Communist Party. "We decided that we need the solidarity and unity in this dividing times", said Kiwi for the press conference. | 33 passengers died and 2 are injured when the freight train sliced through the bus in High Hills Valley, North Odrela.


Queer Anarcho-Socialist, anarchist, communist. Far-left in general, ACAB, anti-war, anti-imperialist, pro-choice, atheist.
⚧♀Trans woman♀⚧
9Axes Results
LeftValues Results
InfValues Results
SapplyValues Results
PoliticalCompass Results

User avatar
Aura Banitia
Lobbyist
 
Posts: 23
Founded: Mar 18, 2020
Scandinavian Liberal Paradise

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.

User avatar
Aura Banitia
Lobbyist
 
Posts: 23
Founded: Mar 18, 2020
Scandinavian Liberal Paradise

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.

User avatar
Refuge Isle
Ambassador
 
Posts: 1079
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.

Ikania wrote:My brother in Christ, please stop posting.

User avatar
United Calanworie
Envoy
 
Posts: 219
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.
Discord: Aav#7564
She/Her/Hers
My Projects:
HYPR: TG API software (GitHub) | Spyglass (forum) (GitHub) (Latest Release)

||||||||||||||||||||
||||||||||||||||||||

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: 9003, Google [Bot]

Advertisement

Remove ads