diff --git a/datacommons/event.py b/datacommons/event.py new file mode 100644 index 00000000..ecacd1b7 --- /dev/null +++ b/datacommons/event.py @@ -0,0 +1,19 @@ +# Copyright 2022 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +""" API to get event data.""" + + +def event_series_within_place(event_type: str, containing_place: str, + date: str): + return None \ No newline at end of file diff --git a/datacommons/observation.py b/datacommons/observation.py new file mode 100644 index 00000000..7da6e5c3 --- /dev/null +++ b/datacommons/observation.py @@ -0,0 +1,36 @@ +# Copyright 2022 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +""" API to get statistical observation data.""" + +from typing import List + + +def observation_series(variable: str, entities: List[str]): + return None + + +def observation_series_of_entities_within_place(variable: str, entity_type: str, + containing_place: str): + return None + + +def observation_point(variable: str, entities: List[str], date: str = ""): + return None + + +def observation_point_of_entities_within_place(variable: str, + entity_type: str, + containing_place: str, + date: str = ""): + return None \ No newline at end of file