Skip to contents

All functions

abc2num()
Convert letters to a number, e.g. c becomes 3
api_buildurl()
Build base URL
api_delete()
Delete epigraf data
api_download()
Download a file from Epigraf
api_fetch()
Fetch entity data such as articles, projects or properties from the API
api_job_create()
Create and execute a job
api_job_execute()
Execute a job
api_patch()
Patch data
api_post()
Post data to epigraf
api_setup()
Save API connection settings to environment variables
api_silent()
Set silent mode
api_table()
Download tables
api_transfer()
Transfer datasets between different databases
api_upload()
Upload file to epigraf
bind_rows_char()
Bind rows of dataframes even if column types differ
craft_articles()
Create RAM rows for article data
craft_items()
Create RAM rows for item data
craft_projects()
Create RAM rows for project data
craft_properties()
Create RAM rows for property data
craft_sections()
Create RAM rows for section data
db_condition()
Construct filter conditions for the db_table() function
db_connect()
Get a connection to a database
db_databases()
Get list of all databases
db_fetch()
Fetch entity data such as articles, projects or properties using direct database access
db_name()
Get the database name from a connection object
db_setup()
Save database connection settings to environment variables. Environment variables are prefixed with "epi_" and used in db_connect() to establish the connection.
db_table()
Get data from a database table
decode()
Converts "b" using the "base"
default_values()
Set default values
df_to_ram()
Map a data frame to the Relational Article Model (RAM)
distill_articles()
Get articles
distill_properties()
Get the property tree (including annotations)
.to_epitable()
Add the epi_tbl class and make it remember its source
encode()
Converts numbers using the radix vector
epi_clean_irifragment()
Create a clean IRI fragment
epi_create_iri()
Create a clean IRI
epi_extract_long()
Get RAM rows by table name
epi_extract_wide()
Select nested data from prefixed columns
epi_iri_parent()
Get the IRI fragment of an IRI path
epi_is_id()
Check whether the provided vector contains valid IDs prefixed with table names. Example: articles-123
epi_is_irifragment()
Check whether the provided vector contains only valid IRI fragments
epi_is_iripath()
Check whether the provided vector contains a valid IRI path
epi_is_prefixid()
Check whether the provided vector contains valid IDs prefixed with table names and temporary prefixes. Example: articles-tmp123
epi_wide_to_long()
Convert wide to long format
fetch_entity()
Fetch entities such as single articles, projects or properties
fetch_table()
Fetch tables such as articles, projects or properties
merge_lists()
Merge list elements by their name
merge_vectors()
Merge vectors
move_cols_to_end()
Shift selected columns to the end
move_cols_to_front()
Shift selected columns to the front
num2abc()
Convert a number to letters, e.g. 3 becomes c
parse_json()
Parse JSON columns
pseudonyms()
Create distinct pseudonyms
ram_add()
Add a row to the rows in the epi attribute
ram_clear()
Remove all RAM rows from a tibble
ram_compile()
Compile a crafted table with RAM rows ready to patch into the database
tree_add_ancestor()
Add ancestor id and path from a specific level to all children
tree_add_level()
Add level, thread and order
tree_add_mptt()
Adds left and right values to the dataframe
tree_add_path()
Add a column holding the path of each node.
tree_bind_ancestors()
Row bind all ancestors of the selected nodes
tree_get_nodes()
Get all distinct nodes in an edge list
tree_stack_ancestors()
For each node, add each ancestor's id