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

Script for uploading to postgres #21

Merged
merged 2 commits into from
Jan 31, 2017

Conversation

JacobCoblentz
Copy link
Contributor

Downloaded lobbying data by industry from opensecrets, cleaned it, uploaded to postgres, and returned a CSV of all pharma lobbying transactions.

@jenniferthompson
Copy link
Contributor

@JacobCoblentz This is great!! One quick thing I noticed - is it possible to remove the trailing spaces in the year column? If not, I (or whoever) can do it pretty quickly in "regular" R after this gets merged, but figured it would be cleaner to do it in the same file if possible (I haven't used RPostgreSQL so don't know what it's capable of!).

@JacobCoblentz
Copy link
Contributor Author

Yeah- uno momento.

@JacobCoblentz
Copy link
Contributor Author

@jenniferthompson done- will build the crosswalk for drug-->company tomorrow. Busy freaking out on twitter rn

@jenniferthompson
Copy link
Contributor

Awesome - thanks! (and, yes. I had to shut it off)

@jenniferthompson jenniferthompson merged commit b21444a into Data4Democracy:master Jan 31, 2017
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