Skip to content
/ alveo-r Public

R interface for the Alveo API

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

Alveo/alveo-r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alveo R Library

This is the main repository for the R library to interact with the Alveo API. It provides access to the API to query metadata, download item lists and download documents.

Installation

To install this package directly from Github you need the devtools library:

  library(devtools)
  install_github('Alveo/alveo-r')

Example

To download all text files associated with the items in an item list:

client <- RestClient()

item_list <- client$get_item_list("https://app.alveo.edu.au/item_lists/1")
item_list$download("datadir", "*.txt")

To retrieve an individual item:

item <- item_list$get_item(1)
item$get_metadata()
item$get_indexable_text()
item$get_documents()

document <- item$get_document(1)
document$download("datadir")

See also the austalk library for access to the Austalk collection on Alveo.

About

R interface for the Alveo API

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages