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
Adding export.socrata function #187
Open
tomschenkjr
wants to merge
6
commits into
dev
Choose a base branch
from
issue126
base: dev
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Dec 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 46a488d - Browse repository at this point
Copy the full SHA 46a488dView commit details
Commits on Oct 28, 2018
-
Save data.json to file system; handle non-data files
Save data.json to file system ------------------------------ A copy of the data.json file at the beginning of the download process is saved alongside the actual downloaded data. Since `export.socrata()` uses data.json as the index to download data, this will allow users to cross-reference the downloaded data with other metadata associated with it available through [Project Open Data](https://project-open-data.cio.gov). Handle non-data file --------------------- Socrata lists non-data files, such as Socrata Stories--HTML websites that contain text but no machine-readable data--in the data.json file. This causes errors when trying to download those sites because they do not have a "distribution URL". While it's arguable that these "sites" should not be included in the first place, the script now simply skips those files. Since a copy of the data.json file is downloaded (see above), users will have transparency into which URLs were not downloaded.
Tom Schenk Jr committedOct 28, 2018 Configuration menu - View commit details
-
Copy full SHA for aafcf15 - Browse repository at this point
Copy the full SHA aafcf15View commit details -
Socrata supports external links which direct to web pages (e.g., HTML). These would cause an error when `export.socrata()` attempted to download them. This fix will simply skip those files and proceed to the next file.
Tom Schenk Jr committedOct 28, 2018 Configuration menu - View commit details
-
Copy full SHA for 8b601c6 - Browse repository at this point
Copy the full SHA 8b601c6View commit details
Commits on Jan 5, 2020
-
Handles non-CSV file types #126
* Ignores HTML files (e.g., Socrata Pages) * Ignores on occassions there isn't any data * Will download (uncompressed) PDFs, Word, Excel, PowerPoint, plain text attachments.
Tom Schenk Jr committedJan 5, 2020 Configuration menu - View commit details
-
Copy full SHA for ccc4c96 - Browse repository at this point
Copy the full SHA ccc4c96View commit details -
Rebased branch; generated documentation
Rebased branch with most recent `dev` branch and generated documentation. Merge branch 'dev' into issue126 # Conflicts: # DESCRIPTION # R/RSocrata.R
Tom Schenk Jr committedJan 5, 2020 Configuration menu - View commit details
-
Copy full SHA for c565ef9 - Browse repository at this point
Copy the full SHA c565ef9View commit details
Commits on Jan 6, 2020
-
Several clean-up items for
export.socrata()
* Removed user-defined option for file output (not available yet) * Clarified documentation where `export.socrata()` files will be located. * Fixed incorrect date in `DESCRIPTION` file. * Iterating build number.
Tom Schenk Jr committedJan 6, 2020 Configuration menu - View commit details
-
Copy full SHA for f9ec527 - Browse repository at this point
Copy the full SHA f9ec527View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.