feedback
Closed this issue · 1 comments
isomorphisms commented
first couple thoughts after reading https://ironholds.org/blog/introducing-wikipedir/
- where did
wiki_con()
go? - second thing I tried was
user_information('my editor name')
, which fails becauseuser_names
is not the first property. (But I think that would be good UI.) - first thing I want to do is grab a random wikipedia page (not literally random, but whichever one first occurred to me). So a convenience wrapper for
encyclopedia_article()
would be good. - using one of R's XML parsers (is it
httr
now?selectorgadget
? Duncan ___'s omega-hat one?) on the output of my test wikipedia page will probably be my next step.
HTH
Ironholds commented
wiki_con()
was part of the old API; it went away when the connection information got integrated with individual functions such asuser_info
, which leads nicely into...- I get the argument for user_names being the first argument (it makes sense in say,
magrittr
style pipelines) but arguments are ordered by conceptual importance and whether they're mandatory or not, so 'what site do you want to query' goes first. - There isn't an
encyclopedia_article
function; do you mean you just want to grab the page content? - I imagine it'd be
rvest/xml2
, yeah.