maRc
所属分类:编程语言基础
开发工具:R
文件大小:0KB
下载次数:0
上传日期:2024-03-08 09:32:33
上 传 者:
sh-1993
说明: 用于R编程语言的与Marc21数据交互的方法
(Methods to interact with Marc21 data for the R programming language)
文件列表:
R/
man/
.Rbuildignore
DESCRIPTION
LICENSE.md
NAMESPACE
maRc.Rproj
# maRc - Read MarcXML in R
This package provides methods to work with Marc files for R.
Currently only read operations are supported for MarcXML files, though write support and the ability to deal with non-XML Marc files might be added in the future.
## Installation
You can use the devtools package to install the package directly from Github:
```{R}
devtools::install_github("davidfuhry/maRc")
```
## Basic usage
This package uses R6 classes. An example to read a marcXML file and extract information from specific fields:
```{R}
library(maRc)
record <- MarcRecord$new()
record$read_record("http://d-nb.info/gnd/11897792X/about/marcxml")
# Get fields with optional filtering
record$get_fields(tag = c(548, 550), simplify = TRUE)
```
近期下载者:
相关文件:
收藏者: