Skip to content

Commit

Permalink
Update Brant (ON PHU) url_funs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanpaulrsoucy committed Aug 9, 2023
1 parent c2b49c8 commit ad39a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datasets.json
Original file line number Diff line number Diff line change
Expand Up @@ -6235,8 +6235,8 @@
"id_name": "ON - Brant (PHU) - COVID-19 data (webpage)",
"uuid": "2e7a5549-92ae-473d-a97a-7b8e0c1ddbbc",
"active": "True",
"url_fun_python": "from bs4 import BeautifulSoup; import requests; headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0'}; url_current = BeautifulSoup(requests.get('https://bchu.org/statistics-and-reports/covid19-surveillance/', headers=headers, timeout=5).text, features='html.parser').find('iframe')['data-src']",
"url_fun_r": "library(rvest); html_attr(html_element(read_html('https://bchu.org/statistics-and-reports/covid19-surveillance/'), 'iframe'), 'data-src')",
"url_fun_python": "from bs4 import BeautifulSoup; import requests; headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0'}; url_current = BeautifulSoup(requests.get('https://bchu.org/statistics-and-reports/covid19-surveillance/', headers=headers, timeout=5).text, features='html.parser').find('iframe')['src']",
"url_fun_r": "library(rvest); html_attr(html_element(read_html('https://bchu.org/statistics-and-reports/covid19-surveillance/'), 'iframe'), 'src')",
"dir_parent": "on",
"dir_file": "on-phu-brant-covid-data-webpage",
"file_name": "on-phu-brant-covid-data-webpage",
Expand Down

0 comments on commit ad39a57

Please sign in to comment.