-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guidance on bulk-updating indicator data from CSV files #830
Comments
Thank you, Brock. Should we understand that this method could be used to bulk upload files from other data systems into the github environment--such as requested by Ecuador and others? If so, might we suggest (through OAS--Ceceila perhaps) that a country test the instructions? If you agree, maybe Angela can connect with them? |
@JenPark9 These instructions are for bulk-uploading CSV files from the user's local computer. If the other data systems can export their data to CSV files, and the column headers are correct, then it's possible. But it would be 2 separate steps:
Also, in these instructions, I included some steps referring to the downloading of the current CSV files from Github. That wouldn't be relevant if a country always updates their data in another system. If you'd like I can tweak these instructions to accommodate the possibility of a country managing their data in a separate system, and then only using Github to upload as a last step. |
Great. I am flagging for Angela and Stephanie so that they can follow up with potential use cases (either via OAS or others).
From: brockfanning [mailto:[email protected]]
Sent: Friday, December 8, 2017 11:36 AM
To: GSA/sdg-indicators <[email protected]>
Cc: Park, Jennifer E. EOP/OMB <[email protected]>; Mention <[email protected]>
Subject: [EXTERNAL] Re: [GSA/sdg-indicators] Guidance on bulk-updating indicator data from CSV files (#830)
@JenPark9<%3ehttps:/github.com/jenpark9%3c> These instructions are for bulk-uploading CSV files from the user's local computer. If the other data systems can export their data to CSV files, and the column headers are correct, then it's possible. But it would be 2 separate steps:
1. Export the data from the other data system as CSV files, and tweak the column headers as needed
2. Use these instructions to bulk-upload those files into Github.com.
Also, in these instructions, I included some steps referring to the downloading of the current CSV files from Github. That wouldn't be relevant if a country always updates their data in another system. If you'd like I can tweak these instructions to accommodate the possibility of a country managing their data in a separate system, and then only using Github to upload as a last step.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<%3ehttps:/github.com/GSA/sdg-indicators/issues/830%3c#issuecomment-350308808>, or mute the thread<%3ehttps:/github.com/notifications/unsubscribe-auth/ATtsqo6nJEO-4468BeuskCoYy0qI8wf9ks5s-WV3gaJpZM4Qf2YC%3c>.
|
Here's an updated version that's also geared towards countries who might be managing their data separately from Github, and only uploading it to Github as a final step. Bulk-updating indicator data from CSV filesOverviewThese instructions are intended for any NRP data provider that would like to maintain their NRP data outside of Github, and then periodically bulk-upload the data as CSV files to Github. The basic steps involved in that workflow are detailed below. Get the data from GithubIf the data is already in Github, but needs to be migrated out in order to be maintained elsewhere, then this one-time task will be necessary: getting the data from Github. If the data is already being maintained outside of Github, this can be skipped. IMPORTANT: However, if there is a chance that other data providers may be editing the data independently, then this step cannot be skipped.
Maintain the data in whatever way you choseThe specifics of this step will vary greatly depending on what mechanism is used to maintain the data. Each data provider, if they chose to maintain their data outside of Github, will chose a data management solution. Some examples might be:
Regardless, here is an important rule of thumb to keep in mind:
Export the data to CSV filesThe details of this step will vary depending on what software/system you plan to use to maintain the data. However, here are some important guidelines:
Bulk-upload the new files to Github.comOnce you are ready to upload the revised files, and “commit” the changes back to Github.com, follow these instructions.
The reviewers will then receive the request and approve/comment as appropriate. |
@SmithersA just calling your attention to this one. See above for notes from Jen about possibly providing use-cases from the perspective of Ecuador or others. |
@brockfanning ~ what I recall (if I'm not mistaken) they wanted to link to the database information that existed on their system without having the burden of EXPORTING the information into an spreadsheet, then converting it into a CSV, and then uploading. Can they just link to a spreadsheet (wherever it may be stored)? |
@SmithersA Gotcha. I think this falls more along the lines of the "Database Linking" item in the development priorities. I've started #859 to explore that more. |
Hi all, below is a draft of some guidance for bulk-uploading CSV data. Feedback is welcome!
Bulk-updating indicator data from CSV files
Overview
These instructions are intended for any NRP data provider that would like to maintain their NRP data as local CSV files, which they periodically bulk-upload to the repository. The basic steps involved in that workflow are detailed below.
Download the current files
In order to bulk-update indicator data, first you will need to download the entire repository, so that you can edit the included CSV data files using your own software (such as Excel, etc.).
Edit the files as needed
Expand the downloaded zip file, and expand the ‘data’ folder to find the relevant CSVs.
The details of this step will vary depending on what software you plan to use to edit the files. However, here are some important guidelines:
Bulk-upload the new files to Github.com
Once you are ready to upload the revised files, and “commit” the changes back to Github.com, follow these instructions.
The reviewers will then receive the request and approve/comment as appropriate.
The text was updated successfully, but these errors were encountered: