Skip to content
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

added District Attorney in Utah, tried to convert to json #106

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dallincraven
Copy link

Hopefully the conversion to json works, unsure if i did this whole process right.

@billimarie
Copy link
Owner

billimarie commented Oct 3, 2020

Hi, @dallincraven! Thanks for contributing.

You almost got it right. I looked through your code & here are a few steps you can try to get it working:

On the Profile Template Google Sheet, make sure you only have these two lines:

Screen Shot 2020-10-02 at 6 45 41 PM

Feel free to replace Line 2 with your actual data.

Then, go to File > Download > Comma-separated values (.csv). Make sure you save this file in the repository folder.

Next, open your Terminal / Command Line & enter this code: npm install -g csvtojson. This will install the csvtojson package to your computer, so that you can run the command from the command line.

Once you see that it's finished, enter this code: csvtojson [your-file-name-here].csv > [your-file-name-here].json. This will take your .csv file & create a new file, in the form of a code we call JSON.

Finally, resubmit your pull request & we'll add it to the live app.

Feel free to ping me if you run into any issues! Good luck.

@billimarie
Copy link
Owner

Hi @dallincraven, checking in to see if you'd like any assistance with this. Thanks for contributing.

@dallincraven
Copy link
Author

Just checking to see if I made the necessary changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants