[program-l] Re: Querying the xml stackover flow dump

  • From: <juanhernandez98@xxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Wed, 26 Jun 2019 14:26:19 -0700

Did you see that they have a json api that hooks directly in to
stackoverflow?


-----Original Message-----
From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> On
Behalf Of Pranav Lal
Sent: Friday, June 21, 2019 9:54 PM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Querying the xml stackover flow dump

Hi all,

Has anyone played with the stack overflow data dumps? I have a XML file of
posts that I want to query and pull results from. I was trying to do so in
python but  I am unable to get the package at
https://github.com/kamac/AskXML To work.
You can read about  getting the stack overflow dump at
https://meta.stackexchange.com/questions/221397/is-there-a-way-to-download-a
n-offline-copy-of-the-stackoverflow-questions 

What other options do I have? I am looking at xquery. I can parse the  file
in python but am not looking forward to doing that because I would then have
to load the values into a database and query them.

In terms of what I want to do, I want to create a tab delimited file of
questions and their corresponding answers.
Pranav

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: