Skip to content

Commit

Permalink
update package meta data
Browse files Browse the repository at this point in the history
  • Loading branch information
401118 committed Jul 16, 2024
1 parent 4f9f57e commit 6c2c5e5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ Imports:
crayon,
curl,
stringi,
urltools (>= 1.7.3)
urltools (>= 1.7.3),
purrr (>= 1.0.2)
Suggests:
knitr,
testthat,
Expand Down
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# ralger 2.3.0
### Adding new functionalities:
- `pdf_scrap`
- `xls_scrap`
- `xlsx_scrap`
- `csv_scrap`

# ralger 2.2.4

# ralger 2.2.3
Expand Down
6 changes: 1 addition & 5 deletions R/files_scrap.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
base_url
}



.format_url <- function(file_url, link) {

if (grepl("^http", file_url)) {
Expand Down Expand Up @@ -135,7 +133,6 @@ pdf_scrap <- function(

}


#' Scrape and download Excel xlsx files from a Web Page
#'
#' @param link the link of the web page
Expand All @@ -146,7 +143,7 @@ pdf_scrap <- function(
#' @export
#' @examples \dontrun{
#'
#' excel_scrap(
#' xlsx_scrap(
#' link = "https://www.rieter.com/investor-relations/results-and-presentations/financial-statements"
#' )
#'
Expand Down Expand Up @@ -193,7 +190,6 @@ xls_scrap <- function(
}



#' Scrape and download CSV files from a Web Page
#'
#' @param link the link of the web page
Expand Down

0 comments on commit 6c2c5e5

Please sign in to comment.