Skip to content

Comments

Implemented DCQuery, DCNode, DCFrame#53

Merged
antaresc merged 10 commits intodatacommonsorg:dev2from
antaresc:dev2
Jul 25, 2019
Merged

Implemented DCQuery, DCNode, DCFrame#53
antaresc merged 10 commits intodatacommonsorg:dev2from
antaresc:dev2

Conversation

@antaresc
Copy link
Contributor

No description provided.

@antaresc antaresc requested review from Spaceenter and shifucun July 25, 2019 20:07
@googlebot
Copy link

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@Spaceenter
Copy link
Contributor

@googlebot I consent.

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@antaresc antaresc merged commit c49ed6c into datacommonsorg:dev2 Jul 25, 2019
antaresc added a commit to antaresc/datacommons that referenced this pull request Aug 8, 2019
* Added additional error to constructor

* Remove limit adjustment

* Fixed a bug in eq

* Implemented basic implementation of get_triples

* DCNode implemented

* Implemented DCFrame

* Implemented DCQuery

* Implemented get_places_in mixin

* Fixed bug in DCFrame

* fix a few errors on the first look at the code
antaresc added a commit to antaresc/datacommons that referenced this pull request Aug 8, 2019
* Added additional error to constructor

* Remove limit adjustment

* Fixed a bug in eq

* Implemented basic implementation of get_triples

* DCNode implemented

* Implemented DCFrame

* Implemented DCQuery

* Implemented get_places_in mixin

* Fixed bug in DCFrame

* fix a few errors on the first look at the code
antaresc added a commit to antaresc/datacommons that referenced this pull request Aug 8, 2019
* Added additional error to constructor

* Remove limit adjustment

* Fixed a bug in eq

* Implemented basic implementation of get_triples

* DCNode implemented

* Implemented DCFrame

* Implemented DCQuery

* Implemented get_places_in mixin

* Fixed bug in DCFrame

* fix a few errors on the first look at the code
antaresc added a commit to antaresc/datacommons that referenced this pull request Aug 8, 2019
* Added additional error to constructor

* Remove limit adjustment

* Fixed a bug in eq

* Implemented basic implementation of get_triples

* DCNode implemented

* Implemented DCFrame

* Implemented DCQuery

* Implemented get_places_in mixin

* Fixed bug in DCFrame

* fix a few errors on the first look at the code
antaresc added a commit that referenced this pull request Aug 8, 2019
* Added ability to specify childhoodLocation

* Never change python

* Adding dockerfiles

* Updated workspace

* Updated workspace

* Fixed test

* Added verbose output

* Python3

* Incremented version number

* feature/api-version-2 (#47)

* Corrected namespace for Intangible, hyperlinked a definition.

* Added schema.datacommons.org/County.

* Added documentation for dcid and provenance.

* Added documentation for area, timezone, freebaseId, geonamesId, and wikidataId.

* Fixed name of geonamesId.

* Removed 'current' from the definition of timezone.

* Fixed the empty column bug (#24)

* Add GNIS property.

* Add  fipsId property.

* Use updated caching api

* Allow space in column name

* Remove print

* Fixed <br> to <br/> for xmllint (our rdf parsing is xhtml-based).
(we may need to handle html in comments differently too)

* Preparation for use with sdoapp

* tweaks

* Test of changes visibility

* Test changes

* Added config file to repo

* Mods to roduce correct (vocabUri based) RDFa

* Update datacommons.py

Add a 'typeOf' literal when querying for the type of the container place for get_places_in().

* Add missing "()" to a query in get_places_in().

* Update datacommons client to be compatible with new schema

* Added ability to specify childhoodLocation (#34)

* Added ability to specify childhoodLocation

* Never change python

* Add CensusTract to get_places_in API

* Handle error case

* Add comment

* added empty examples file for consistancy

* Adjust config for release

* Added temporary test config

* Add deploymeny yaml files

* Added draft deployment instructions file

* Change deployment file from html to md

* For observations, use observation_date instead of start_time/end_time

* Use prod client

* Use orient split in read and save dataframe so index is not saved in json

* Add measurementMethod in get_observation

* Update client library to fit for new mixer string_value

* Fix header prefix and date format

* docstring typos and consistency

* Reimplemented base API

* Implemented places extension

* Fixed bug

* Added bio stub

* Finished re-implementing bio extension... n o w t o t e s t.

* Added examples and fixed DCFrame bugs

* added populations stub for pop extension

* implemented get_pop and get_obs in populations API n o w t o t e s t

* Fixed dangling line in places

* BioExtension demo works

* Some tweaks

* Fixed header comment

* missing comma

* fixed typo self._col_type -> self._col_types

* seed and new col val already have ? append to beg

* fixing populations library and updating infra

* similar fix for get_obs for extra ? for colvar

should have fixed this when I fixed get_populations...

* get useful prints in test/examples

* fat fingers on copy and paste

* places.py self._col_type -> self._col_types

* Implemented draft of weather API extension

* Added weather example

* Weather API works

* Added bio mixer specs and tweaked bio API

* Fixed places bug

* Make SchoolDistrict containedIn County

* Feature/api version 2 (#50)

* Corrected namespace for Intangible, hyperlinked a definition.

* Added schema.datacommons.org/County.

* Added documentation for dcid and provenance.

* Added documentation for area, timezone, freebaseId, geonamesId, and wikidataId.

* Fixed name of geonamesId.

* Removed 'current' from the definition of timezone.

* Fixed the empty column bug (#24)

* Add GNIS property.

* Add  fipsId property.

* Use updated caching api

* Allow space in column name

* Remove print

* Fixed <br> to <br/> for xmllint (our rdf parsing is xhtml-based).
(we may need to handle html in comments differently too)

* Preparation for use with sdoapp

* tweaks

* Test of changes visibility

* Test changes

* Added config file to repo

* Mods to roduce correct (vocabUri based) RDFa

* Update datacommons.py

Add a 'typeOf' literal when querying for the type of the container place for get_places_in().

* Add missing "()" to a query in get_places_in().

* Update datacommons client to be compatible with new schema

* Added ability to specify childhoodLocation (#34)

* Added ability to specify childhoodLocation

* Never change python

* Add CensusTract to get_places_in API

* Handle error case

* Add comment

* added empty examples file for consistancy

* Adjust config for release

* Added temporary test config

* Add deploymeny yaml files

* Added draft deployment instructions file

* Change deployment file from html to md

* For observations, use observation_date instead of start_time/end_time

* Use prod client

* Use orient split in read and save dataframe so index is not saved in json

* Add measurementMethod in get_observation

* Update client library to fit for new mixer string_value

* Fix header prefix and date format

* docstring typos and consistency

* Reimplemented base API

* Implemented places extension

* Fixed bug

* Added bio stub

* Finished re-implementing bio extension... n o w t o t e s t.

* Added examples and fixed DCFrame bugs

* added populations stub for pop extension

* implemented get_pop and get_obs in populations API n o w t o t e s t

* Fixed dangling line in places

* BioExtension demo works

* Some tweaks

* Fixed header comment

* missing comma

* fixed typo self._col_type -> self._col_types

* seed and new col val already have ? append to beg

* fixing populations library and updating infra

* similar fix for get_obs for extra ? for colvar

should have fixed this when I fixed get_populations...

* get useful prints in test/examples

* fat fingers on copy and paste

* places.py self._col_type -> self._col_types

* Implemented draft of weather API extension

* Added weather example

* Weather API works

* Added bio mixer specs and tweaked bio API

* Fixed places bug

* Added data cleaning helpers

* Implemented DCNode constructor and get_property_values (#51)

* Added cloud build files

* Implemented DCNode constructor and get_property_values

* Added additional error to constructor

* Remove limit adjustment

* Fixed a bug in eq

* Implemented DCQuery, DCNode, DCFrame (#53)

* Added additional error to constructor

* Remove limit adjustment

* Fixed a bug in eq

* Implemented basic implementation of get_triples

* DCNode implemented

* Implemented DCFrame

* Implemented DCQuery

* Implemented get_places_in mixin

* Fixed bug in DCFrame

* fix a few errors on the first look at the code

* Rename DCFrame, DCNode, DCQuery to Frame, Node, Query, and fix relevant calls.

* Remove duplicate definitions of constants.

* Remove methods that are not likely to be used often.

* Implemented API revisions (#57)

* Begin API rewrite

* Implemented core functions.

* Implemented pandas helpers

* Finished implementation of core functions and added examples

* Dropped old examples

* Implemented get_places_in

* Implemented get_population and get_observation

* Temporary fix until colab supports 0.25

* Addressed comments from PR.

* add absolute path import for py2 compatibility, other imports for google readibility

* Updated docstrings to be more clear (#58)

* Fixed a bug in populations example (#59)

* added flexibility to use single col dataframe, convert to series for user

* Added unit tests (#61)

* Added unit tests to the Python Client API

* Remove commented code

* Added requests to requirements

* Added line to Dockerfile

* Updated fields to match new mixer version.

* Added comments and added in PY2 support imports.

* Clarified comment in get_populations

* Clarified triple.

* update API endpoint

* Added sphinx documentation (#62)

* Fixed comment in core example

* Added Sphinx documentation draft

* Updated conf.py

* Fixed unit tests

* Updated main splash page

* Separated files out

* Subtitles

* Fixed get_places_in comments

* Fixed comments on all functions

* Formatted dcid

* Point resources to dev2

* Updated client API to reflect new return format of GetPropertyValues (#63)

* Added more documentation (#64)

* Added more documentation

* Fixed docs bug

* Fixed grammar

* Check in R API Client code (#69)

* update gitignore with R stuff

* check in R code

* beta note

* Removed out as key from GetPropertyValues (#70)
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.

3 participants