globalgov / manydata

The portal for global governance data
https://manydata.ch
GNU Affero General Public License v3.0
9 stars 0 forks source link

Create a get or a call source function #269

Closed henriquesposito closed 1 year ago

henriquesposito commented 1 year ago

For get_source():

henriquesposito commented 1 year ago

I have added this function but, as it is currently setup, it would require we complete the databases/datasets in other many packages. I taught about this a great deal and I think using the database help file to both get details of the data is great way around downloading data from GitHub (and running into API limits) as well as making our database help files more complete and transparent. @jaeltan please let me know what you think about this solution. Thank you.

jaeltan commented 1 year ago

I agree the (reformatted) help files would be a good source of getting the information. At first glance I wasn't sure what the values in the 'mapping' column were supposed to be, could we have two separate columns instead? One column listing the original variable names (where applicable) and another column for the new variable names?