Description Usage Arguments Value
Downloads HTML files from
TSE pesqEle platform.
Receives a tibble
containing cities and saves HTML files for each city.
When the search for one city returns one or more results,
this function will save one HTML file for each result plus the list of results.
Otherwise, it will save just one HTML file showing zero results.
1 | pesq_download_cities(cities, path = "data-raw/html")
|
cities |
|
path |
directory to save HTML files. For example, consider the city of Rio de Janeiro (code 60011).
If one searches this city in pesqEle platform,
she will get 47 results. This function will save 48 files,
where the first one is |
tibble
containing download status: 'OK' if it ran well,
'ja foi' if the file already exists and 'erro' if there was an error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.