Package: rdracor 1.0.4

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.4.tar.gz
rdracor_1.0.4.zip(r-4.5)rdracor_1.0.4.zip(r-4.4)rdracor_1.0.4.zip(r-4.3)
rdracor_1.0.4.tgz(r-4.4-any)rdracor_1.0.4.tgz(r-4.3-any)
rdracor_1.0.4.tar.gz(r-4.5-noble)rdracor_1.0.4.tar.gz(r-4.4-noble)
rdracor_1.0.4.tgz(r-4.4-emscripten)rdracor_1.0.4.tgz(r-4.3-emscripten)
rdracor.pdf |rdracor.html
rdracor/json (API)
NEWS

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

Peer review:

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

On CRAN:

5.28 score 14 stars 34 scripts 374 downloads 28 exports 35 dependencies

Last updated 2 months agofrom:de1214b4ca. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 27 2024
R-4.5-winOKOct 27 2024
R-4.5-linuxOKOct 27 2024
R-4.4-winOKOct 27 2024
R-4.4-macOKOct 27 2024
R-4.3-winOKOct 27 2024
R-4.3-macOKOct 27 2024

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.tabledplyrfansigenericsgluehttrigraphjsonlitelatticelifecyclemagrittrMatrixmimeopensslpillarpkgconfigpurrrR6rbibutilsRdpackrlangstringistringrsystibbletidyrtidyselectutf8vctrswithrxml2

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