This R-package provides data and tests for the data query workflows code generated with the Raku package DSL::English::DataQueryWorkflows, [AAp1].
It is assumed that Raku and [AAp1] are installed. Note that the package [AAp1] has its own parsing and translation tests.
This R-package can be installed with the command:
devtools::install_github( repo = "antononcube/R-packages", subdir = "DataQueryWorkflowsTests" )(If the R-package devtools is not installed, then the command above should install it.)
The tests are run with the command:
devtools::test()The package uses Star Wars data taken from the package
dplyr,
which cites as source SWAPI, the Star Wars API, https://swapi.dev/.
There are four data frames:
-
dfStarwarswith characters data -
dfStarwarsFilmswith the films the characters appeared in -
dfStarwarsStarshipswith the starships the characters piloted -
dfStarwarsVehicleswith the vehicles the characters piloted
The column name is the "key" for all four data frames.
Except dfStarwars all data frames are in long format.
[AAp1] Anton Antonov, DSL::English::DataQueryWorkflows Raku package, (2020), Raku-DSL-English-DataQueryWorkflows at GitHub.