Skip to content

Commit

Permalink
update in the function documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ake123 committed Nov 27, 2024
1 parent 214b959 commit c8083fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_record.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ get_finna_records <- function(ids, field = NULL, prettyPrint = FALSE, lng = "fi"
if (is.null(record_data$records) || length(record_data$records) == 0) {
stop("No records found for the provided IDs.")
}
print(record_data)
#print(record_data)


# Extract the data
Expand Down
2 changes: 2 additions & 0 deletions R/harvest_oai_pmh.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#' @param metadata_prefix A string. The metadata format to request (e.g., "oai_dc", "marc21").
#' @param set A string. Optional. A set specifier to limit the harvested records (e.g., "non_dedup").
#' @param verbose A logical. Whether to display progress messages. Default is `TRUE`.
#' @param record_limit limits the number of records that the user wants to fetch
#' @param output_file output file to be saved as a csv file.
#' @param user_agent A string. A custom User-Agent string to identify the service. Default is "FinnaHarvester/1.0".
#' @return A tibble with the harvested records containing selected metadata fields.
#' @import httr
Expand Down
4 changes: 4 additions & 0 deletions man/harvest_oai_pmh.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c8083fb

Please sign in to comment.