Ironholds / WikipediR

R's MediaWiki API client library
Other
68 stars 18 forks source link

extracting page titles #13

Closed KDIncognito closed 8 years ago

KDIncognito commented 8 years ago

Hi,

I am currently working on a project where I need to extract all pages related to "neutron star" and other terms related to astrophysics. I was able to get to the plinks extraction part. My question: Is it possible to just extract a specific part of the plink$query? In the output, image I only need the titles and not the rest, and I need them in a single column for me to go further.

I used page_links function. Please let me know if you need further information.

Ironholds commented 8 years ago

Ack, sorry; travelling! Still an issue?

KDIncognito commented 8 years ago

No problem at all! I managed to scrape the site manually. I couldn't extract just the results from plinks. Got what I need! Your library is awesome though!