๐ง๐ฝ๐๐ฅฆ๐ฝ๐ฅ๐ฑ๐พ๐๐ฝ๏ธ๐ฅ๐โ๏ธ๐ก๏ธ๐ง๐ณ๐๐ง๏ธ๐ฆ๏ธ๐๐ง๐ท
gsdata
is an R package designed to facilitate the documentation and
sharing of data from Sustentareaโs Global Syndemic
Project.
You can install gsdata
using the
remotes
package:
remotes::install_github("sustentarea/gsdata")
The package provides a preview and documentation for each dataset. You can find a list of available datasets here.
To download them, use the function get_data()
. For example, to get the
gini_index
dataset use:
get_data("gini_index")
The raw data files can be downloaded using the get_raw_data()
function.
get_raw_data("gini_index")
If you need to convert the data to a different format, we recommend using the following packages:
readr
: For writing data tocsv
filesreadxl
: For writing data toxlsx
(Excel) fileshaven
: For writing data todta
(Stata),sav
(SPSS), andsas
(SAS) files
gsdata
code is released under the MIT
license.