{"id":13424154,"url":"https://github.com/datadotworld/data.world-r","last_synced_at":"2025-05-08T21:14:55.631Z","repository":{"id":49112056,"uuid":"79480903","full_name":"datadotworld/data.world-r","owner":"datadotworld","description":"R library for data.world","archived":false,"fork":false,"pushed_at":"2023-12-03T08:26:13.000Z","size":3590,"stargazers_count":57,"open_issues_count":8,"forks_count":18,"subscribers_count":44,"default_branch":"main","last_synced_at":"2025-05-08T21:14:50.858Z","etag":null,"topics":["datasets","dwstruct-t50-public-projects","open-data","reference-implementation"],"latest_commit_sha":null,"homepage":"https://data.world/integrations/r","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datadotworld.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-01-19T18:12:34.000Z","updated_at":"2025-04-01T21:34:54.000Z","dependencies_parsed_at":"2023-12-03T09:32:41.400Z","dependency_job_id":"84d80570-8ab4-4c39-8706-a885fe7ae869","html_url":"https://github.com/datadotworld/data.world-r","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadotworld%2Fdata.world-r","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadotworld%2Fdata.world-r/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadotworld%2Fdata.world-r/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadotworld%2Fdata.world-r/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datadotworld","download_url":"https://codeload.github.com/datadotworld/data.world-r/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253149618,"owners_count":21861740,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datasets","dwstruct-t50-public-projects","open-data","reference-implementation"],"created_at":"2024-07-31T00:00:49.496Z","updated_at":"2025-05-08T21:14:55.606Z","avatar_url":"https://github.com/datadotworld.png","language":"CSS","readme":"# data.world-r\n\n[![CircleCI](https://circleci.com/gh/datadotworld/data.world-r.svg?style=svg)](https://circleci.com/gh/datadotworld/data.world-r)\n\nThe `data.world` package is the main R package for working with datasets \non [data.world](https://data.world).  \nUsing this packages users can:\n\n* Query and join datasets\n* Choose between SQL and SPARQL\n* Publish insights\n* Use data.world's REST API (via included `dwapi` package)\n\n# Getting Started\n\nTo get started, load the library and checkout the `quickstart` vignette.\n```R\nlibrary(data.world)\nvignette(\"quickstart\", package = \"data.world\")\n```\n\nHere is a simple example:\n```R\nintro_ds \u003c- \"https://data.world/jonloyens/an-intro-to-dataworld-dataset\"\n\nsample_query \u003c- data.world::qry_sql(paste0(\n  \"SELECT t.Name, t.Height, s.AssistsPerGame \",\n  \"FROM DataDotWorldBBallTeam as t \",\n  \"JOIN DataDotWorldBBallStats as s ON t.Name = s.Name \",\n  \"ORDER BY s.AssistsPerGame DESC\"))\n\ndata.world::query(sample_query, dataset = intro_ds)\n```\n\nNotice that `dataset` is parameter required by most functions and can be provided in two formats:\n\n1. URL: \"https://data.world/jonloyens/an-intro-to-dataworld-dataset\"\n2. Path: \"jonloyens/an-intro-to-dataworld-dataset\"\n\n# Publishing Insights\n\nFor your convenience, this package allows you to publish\n[insights](https://meta.data.world/showcasing-your-data-work-using-insights-9c578698275b) \nto \n[data projects](https://meta.data.world/introducing-data-projects-e7cfa971b552)\nwithout leaving R Studio.\n\nUsing R Studio's \"Addins\" menu, look for `DATA.WORLD \u003e New insight`. \n\n![Add-in Menu](vignettes/new_insight_menu.png)\n\nThe add-in will automatically capture the active plot in R Studio's plot \nview and give you the opportunity to quickly choose the project, and enter \ntitle and description for your insight.\n\n![Add-in Window](vignettes/new_insight_window.png)\n\n## Installation\n\nTo install directly from GitHub:\n```R\ndevtools::install_github(\"datadotworld/data.world-r\", build_vignettes = TRUE, ref = \"main\")\n```\n\n**Note:** You will need to have the devtools package for R installed to run the previous command.  If that is not already installed, you can install it from CRAN using the command:\n```R\ninstall.packages(\"devtools\")\n```\n\n## Configuration\n\nFirst, users must obtain an API authentication token at: https://data.world/settings/advanced\n\n**IMPORTANT**: For your security, do not include your API authentication token in code that\nis intended to be shared with others.\n\nConfiguration can be provided in 3 forms:\n\n* Via config file\n* Via environment variables\n* At runtime\n\nConfig files are the most convenient configuration method. Once saved\nconfiguration will be automatically restored when `data.world` is loaded.\n\nFrom the R console:\n```R\nsaved_cfg \u003c- data.world::save_config(\"YOUR API TOKEN\")\ndata.world::set_config(saved_cfg)\n```\n\nFor additional configuration options, see `?set_config`\n\n# Next\n\nCheck out the `quickstart` and `query` vignette and the package documentation (`?data.world`).\n```\n\u003e vignette(\"quickstart\", package = \"data.world\")\n\u003e ?data.world\n```\n\n# Notes\n\nWe've removed the package from CRAN and recommend installing directly from Github.\n\n","funding_links":[],"categories":["CSS"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadotworld%2Fdata.world-r","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatadotworld%2Fdata.world-r","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadotworld%2Fdata.world-r/lists"}