Description Configuration API functions Request object constructors
The dwapi package makes it easy to access and work with data.world's REST API.
The package can be configured with the configure
function.
Make sure to configure authentication at the begining of every new R session.
API authentication tokens can be obtained at https://data.world/settings/advanced
Managing datasets:
get_dataset
create_dataset
update_dataset
replace_dataset
delete_dataset
sync
download_datapackage
Managing files:
download_file
download_file_as_data_frame
upload_file
upload_data_frame
add_files_by_source
delete_file
Managing projects:
get_project
get_projects_user_contributing
get_projects_user_liked
get_projects_user_own
create_project
update_project
replace_project
delete_project
Managing insights:
get_insight
get_insights
create_insight
update_insight
replace_insight
delete_insight
Appending data to streams:
append_data_frame_to_stream
append_record_to_stream
append_values_to_stream
Managing tables and schemas (data dictionary):
list_tables
get_table_schema
update_table_schema
download_table_as_data_frame
Querying:
sql
sparql
Complex requests are facilitated by request object constructors. The main ones are:
dataset_create_request
dataset_update_request
dataset_replace_request
file_batch_update_request
file_create_request
file_create_or_update_request
file_source_create_request
file_source_create_or_update_request
table_schema_update_request
project_create_request
project_update_request
project_replace_request
insight_create_request
insight_update_request
insight_replace_request
linked_dataset_create_or_update_request
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.