Displaying 3 results from an estimated 3 matches for "ihsn".
Did you mean:
hsn
2018 Jan 19
1
Web scraping different levels of a website
...ramaters.
# load libs
library("rvest")
library("httr")
library("glue")
library("magrittr")
# number of studies to pull from catalogue
num_studies <- 42
year_from <- 1890
year_to <- 2017
# build up the url
url <-
glue(
"http://catalog.ihsn.org/index.php/catalog/",
"search?view=s&",
"ps={num_studies}&",
"page=1&repo=&repo_ref=&sid=&_r=&sk=&vk=&",
"from={year_from}&",
"to={year_to}&",
"sort_order=&sort_by=...
2018 Jan 18
0
Web scraping different levels of a website
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, ....
2018 Jan 18
0
Web scraping different levels of a website
...ou
right-click on the title of any entry and select Inspect Element from
the menu, you will notice in the Developer Tools view that opens up
that the corresponding html looks like this
(example for the same link that you provided)
<div class="survey-row"
data-url="http://catalog.ihsn.org/index.php/catalog/7118" title="View
study">
<div class="data-access-icon data-access-remote" title="Data
available from external repository"></div>
<h2 class="title">
<a href="http://catalog.ihsn.o...