Skip to main content

Download stack overflow survey data in linux.

Thanks to Stack overflow to make their survey data public. Its best use case for data analysis. I am doing analysis with pandas in jupyter.  However like to share way to get data in linux as its pretty straight forward in windows. Or for the never ending issue: Redirecting output to ‘wget-log’.


Stack overflow data: Stack Overflow Annual Developer Survey


To get in linux with our friend "wget"


$wget -O developer_survey_2020.zip "https://drive.google.com/u/0/uc?id=1dfGerWeWkcyQ9GX9x20rdSGj7WtEpzBB&export=download"


-O  could be any output file name.

Get URL that shows up after clicking on download button.


Important:

-- The URL has to be in quotes. Without quotes the whole URL expression will be evaluated.  Note there is "&" in URL which will put process in background showing message: Redirecting output to ‘wget-log’.

Comments