[R] Convert a list of $NULL into multiple dataframes

2018-05-18 Thread Ilio Fornasero
I have the following list: > tables $`NULL` V1 V2 V3 1 Year 1992 1993 $`NULL` V1 V2 V3V4 1 Age Average (cm) N S

[R] Scraping from different level URLs website

2018-01-23 Thread Ilio Fornasero
I am doing a research on World Bank (WB) projects on developing countries. To do so, I am scraping their website in order to collect the data I am interested in. The structure of the webpage I want to scrape is the following: 1. List of countries the list of all countries in which WB has dev

Re: [R] Web scraping different levels of a website

2018-01-22 Thread Ilio Fornasero
Thanks again, David. I am trying to figure out a way to convert the lists into a data.frame. Any hint? The usual ways (do.call, etc) do not seem to work... Thanks Ilio Da: David Jankoski Inviato: venerd� 19 gennaio 2018 15:58 A: iliofornas...@hotmail.com; r-h

[R] Web scraping different levels of a website

2018-01-18 Thread Ilio Fornasero
I am web scraping a page at http://catalog.ihsn.org/index.php/catalog#_r=&collection=&country=&dtype=&from=1890&page=1&ps=100&sid=&sk=&sort_by=nation&sort_order=&to=2017&topic=&view=s&vk= >From this url, I have built up a dataframe through the following code: dflist <- map(.x = 1:417, .f = funct