Package: rdracor 1.0.6

Ivan Pozdniakov

rdracor: Access to the 'DraCor' API

Provide an interface for 'Drama Corpora Project' ('DraCor') API: <https://dracor.org/documentation/api>.

Authors:Ivan Pozdniakov [aut, cre]

rdracor_1.0.6.tar.gz
rdracor_1.0.6.zip(r-4.7)rdracor_1.0.6.zip(r-4.6)rdracor_1.0.6.zip(r-4.5)
rdracor_1.0.6.tgz(r-4.6-any)rdracor_1.0.6.tgz(r-4.5-any)
rdracor_1.0.6.tar.gz(r-4.7-any)rdracor_1.0.6.tar.gz(r-4.6-any)
rdracor_1.0.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
rdracor/json (API)
NEWS

# Install 'rdracor' in R:
install.packages('rdracor', repos = c('https://dracor-org.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dracor-org/rdracor/issues

On CRAN:

Conda:

5.54 score 34 stars 51 scripts 202 downloads 28 exports 34 dependencies

Last updated from:5d22cafadb. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK942
source / vignettesOK204
linux-release-x86_64OK946
macos-release-arm64OK957
macos-oldrel-arm64OK962
windows-develOK934
windows-releaseOK924
windows-oldrelOK931
wasm-releaseOK104

Exports:dracor_apidracor_api_infodracor_sparqlget_character_playsget_dracorget_dracor_api_urlget_dracor_metaget_net_cooccur_edgesget_net_cooccur_gexfget_net_cooccur_graphmlget_net_cooccur_igraphget_net_cooccur_metricsget_net_relations_edgesget_net_relations_gexfget_net_relations_graphmlget_net_relations_igraphget_play_charactersget_play_metadataget_play_rdfget_text_chr_spokenget_text_chr_spoken_bychget_text_chr_stageget_text_chr_stage_with_spget_text_dfget_text_teilabel_cooccur_igraphset_dracor_api_urltei_to_df

Dependencies:askpassclicpp11curldata.tabledplyrgenericsgluehttrigraphjsonlitelatticelifecyclemagrittrMatrixmimeopensslpillarpkgconfigpurrrR6rbibutilsRdpackrlangstringistringrsystibbletidyrtidyselectutf8vctrswithrxml2

Readme and manuals

Help Manual

Help pageTopics
Send a GET request to DraCor API and parse the resultsdracor_api
Retrieve 'DraCor' API infodracor_api_info get_dracor_api_url set_dracor_api_url
Submit SPARQL queries to DraCor APIdracor_sparql
Retrieve plays having a character identified by 'Wikidata ID'get_character_plays
Retrieve information on available corporaget_dracor_meta plot.dracor_meta summary.dracor_meta
Retrieve co-occurrence edges list for a play as a data frameget_net_cooccur_edges get_net_relations_edges
Retrieve co-occurrence network for a play in 'GEXF'get_net_cooccur_gexf get_net_relations_gexf
Retrieve co-occurrence network for a play in 'GraphML'get_net_cooccur_graphml get_net_relations_graphml
Retrieve an igraph co-occurrence network for a playget_net_cooccur_igraph plot.cooccur_igraph summary.cooccur_igraph
Retrieve co-occurrence network metrics for a playget_net_cooccur_metrics
Retrieve an igraph relations network for a playget_net_relations_igraph plot.relations_igraph summary.relations_igraph
Retrieve data for characters in a playget_play_characters
Retrieve metadata for a playget_play_metadata
Retrieve an RDF for a playget_play_rdf
Retrieve lines and stage directions for a playget_text_chr_spoken get_text_chr_spoken_bych get_text_chr_stage get_text_chr_stage_with_sp
Retrieve a text for a play in 'TEI'get_text_tei
Extract labels for plotting 'cooccur_igraph' objectlabel_cooccur_igraph
Retrieve metadata for all plays in selected corporaget_dracor summary.dracor
Retrieve a text for a play as a data frameget_text_df tei_to_df